• javascript基础系列之Promise

    Promise 对象用于表示一个异步操作的最终完成 (或失败)及其结果值 概念 promise只有三种状态(pending|fulfilled|rejected) Promise构造函数 1 2 3 4 5 6 7 8 9 ...