Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p.then(function(){
- p.then(function(){
- console.log('C');
- });
- console.log('A');
- });
- p.then(function(){
- console.log('B');
- });
- //A B C
- // here 'C' cannot interrupt and precede 'B' by virtue of how promises are defined to operate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement