zhoushaw / zhoushaw.github.io

Github Pages https://zhoushaw.github.io
1 stars 0 forks source link

Event loop | zhou shaw #7

Open zhoushaw opened 5 years ago

zhoushaw commented 5 years ago

https://zhoushaw.github.io/2019/03/01/learning/font-end/event%20loop/

前言 请问下面输出的结果是什么 12345678910111213console.log('script start');setTimeout(function() { console.log('setTimeout');}, 0);Promise.resolve().then(function() { console.l