Let’s use the sleep function that you’ve just implemented.
- add a second parameter
delay
to the functionwriteLog
- sleep for
delay
milliseconds after printing each character - don’t forget the
async
and `await keywords!
This task is part of the Full-Stack JavaScript Course.
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.