JavaScript puzzle
function f(){
...
setTimeout(()=> console.log("hello, there"),0); // this line will be executed right now
...
}

After how many ms after executing the given line (JavaScript ES6), message "hello, there" will be output in the console.

Assume your environment is standard and supporting ES6 well enough, function f being called, indeed.
Functions setTimeout and сonsole.log are standard and not redefined in any way.

Are you a professional JavaScript developer?
How many years of experience with JavaScript do you have?
Solution (multiple selection is allowed)
10 points
Required
Your comment (if you wish)
Your answer
Submit
Never submit passwords through Google Forms.
This form was created inside of Vinogradov IT. Report Abuse - Terms of Service - Additional Terms