p.then( function(){
p.then( function(){
console.log( "C" );
} );
console.log( "A" );
} );
p.then( function(){
console.log( "B" );
} );
任务队列是什么样子的?
我不需要结果,只想知道运行机制
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
事件循环机制,我觉得这篇文章写的挺好的
http://www.jianshu.com/p/12b9...