Numerical sequence

Report a typo

What will be the output of the following code snippet? Print the values in one row without spaces in between.

console.log(5);

function printOne() {
 console.log(1);
}

console.log(9);

function printFour() {
 console.log(4);
}

setTimeout(printSix, 3000)
setTimeout(printOne, 0)
setTimeout(printFour, 0)
setTimeout(printSeven, 2000)

function printSix() {
 console.log(6);
}

function printSeven() {
 console.log(7);
}
Enter a number
___

Create a free account to access the full topic