DEV Community 👩‍💻👨‍💻

Discussion on: Asynchronous programming in JavaScript - Promises, Callbacks and Async-await

Collapse
 
echirchir profile image
emmanuel chirchir

Kindly rectify waitUp using Promises. its usage suggest its a function but its initialization is not. you can make it a function that return the promise

Collapse
 
naftalimurgor profile image
Naftali Murgor Author

Thanks! Will rectify that. Thank you for the feedback