Great job! Now we’ll start working on a delay.
sleep function and export it from the file
Here’s the spec:
sleepshould return a Promise
- the Promise returned by
sleep(ms)should be resolved in
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.