The output will look even better if we randomize the timing.
Let’s add another boolean parameter randomized to the function writeLog.
If it’s true, then the argument passed into sleep
should be in the range from 0 to delay milliseconds.
Otherwise, the delay shouldn’t change.

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.