Why is the Output first, third and second??
console.log("first");
setTimeout(() => {
console.log('second');
}, 0);
console.log('third');
Why is the Output first, third and second??
console.log("first");
setTimeout(() => {
console.log('second');
}, 0);
console.log('third');