从一道执行题,了解浏览器中JS执行机制

执行题 setTimeout(function(){ console.log('定时器开始啦') }); new Promise(function(resolve){ console.log('马上执行for循环啦'); for(var