JS Promise实例 then()方法

JS Promise实例 then()方法 Promise.then() 描述: then()方法用于指定当前实例状态发生改变时的回调函数。它返回一个新的Promise实例。javascript 语法: Promise.prototype.then(onFulfilled, onRejected);html 参数: 参数 描述 onFulfilled 当前实例变成fulfilled状态时,该参数做
相关文章
相关标签/搜索