Programming should be fun!
In this task, you’ll learn how to add a randomized delay
to the console.log
statements in JavaScript and Node.js.
We’ll start small.
In the file function.js
you see an empty function log
.
The task is very straightforward:
log
should accept a string and print it on the screen usingconsole.log
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.
functions.js
export const log = () => {
}
solution.js
import { log } from './functions.js';
const message = `
Hello, world ๐!
Let's make our Console Output Fun and Interactive in JavaScript and Node.js ๐
`;
log(message);