Analyze the following code:
let show = function () { console.log(test); } setTimeout(show, 2000);
Its execution will cause:
- the console to display
"test"
after a 2 second delay. - the console to display
"test"
after a 2000 second delay. - the console to display
"test"
2000 times. - the console to display
"show"
after a 2 second delay.
More Questions: JavaScript Essentials 1 – JSE1: Module 5 Test
Please login or Register to submit your answer