首页 > 问答 > 正文
p.then( function(){ p.then( function(){ console.log( "C" ); } ); console.log( "A" ); } ); p.then( function(){ console.log( "B" ); } );
任务队列是什么样子的?
我不需要结果,只想知道运行机制
世界只因有你2017-05-19 10:32:35
事件循环机制,我觉得这篇文章写的挺好的http://www.jianshu.com/p/12b9...