promise知识点

图片描述
resolve 和 reject 函数被调用时,分别将promise的状态改成fulfilled(完成)或rejected(失败)promise

相关文章
相关标签/搜索