p.then( function(){
p.then( function(){
console.log( "C" );
} );
console.log( "A" );
} );
p.then( function(){
console.log( "B" );
} );
What does a task queue look like?
I don’t need the results, I just want to know the operating mechanism
Event loop mechanism, I think this article is very well written
http://www.jianshu.com/p/12b9...