setTimeout(()=>{console.log("Testing")}, 0);
console.log("Next");
Hello guys, i wanted to ask how does the javascript engine interpret asynchronous code? In the above code, its the setTimeout function setup and then console.log is called or does the javascript engine first execute synchronous code first followed by the setting up of other asynchronous code?