What is the code to print hello one second from now?
A. setTimeout(function() { console.log("Hello World"); }, 1000);
B. setTimeout(function() { 1000, console.log("Hello World"); });
C. setTimeout(function(1000) { console.log("Hello World"); });
D. setTimeout(function() { console.log("Hello World"); });
Answer: Option A
Join The Discussion