javascript - How does promise work?
黄舟
黄舟 2017-05-19 10:30:35
0
1
660
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

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
世界只因有你

Event loop mechanism, I think this article is very well written
http://www.jianshu.com/p/12b9...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template