@_楊柳_ 他寫的代碼 少了 resolve()執(zhí)行,如果沒有 resolve方法那么then方法里面的回調函數(shù)也就不會執(zhí)行。
javascript的宏任務和微任務https://juejin.im/post/59e85eebf265da430d571f89 javascript的宏任務和微任務 2018年04月11日 20:28:19...
@_楊柳_ 他寫的代碼 少了 resolve()執(zhí)行,如果沒有 resolve方法那么then方法里面的回調函數(shù)也就不會執(zhí)行。
javascript的宏任務和微任務https://juejin.im/post/59e85eebf265da430d571f89 javascript的宏任務和微任務 2018年04月11日 20:28:19...