0

Why is the Output first, third and second??

console.log("first");
setTimeout(() => {
  console.log('second');
}, 0);
console.log('third');
Mister Jojo
  • 16,804
  • 3
  • 16
  • 39

0 Answers0