Promise.resolve() .then( value => { console.log(0); return Promise.resolve({ then() { console.log(1); } }) }) .then( value => { return Promise.resolve({ then() { console.log(2); } }) }) .catch(()=>{ console.log('not yet'); })
慕姐8265434
相关分类