08 2020 档案

摘要:1、构造函数Promise(excutor) excutor: Promise构造函数接受一个执行器作为参数(excutor,其实就是一个回调函数),在Promise构造函数执行时,会立即执行传入的excutor。 excutor函数被调用时,会传入resolve, reject两个函数作为参数;当 阅读全文
posted @ 2020-08-24 18:15 苦逼的老萧 阅读(454) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示