es6console
es6console copied to clipboard
Event loop seems to be buggy
Tried running the following -
console.log("1");
setTimeout(function () {
console.log("2");
}, 0);
console.log("3");
Expected output -
1
3
2
Actual output -
2
1
3