会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
学如逆水行舟,不进则退。
博客园
首页
新随笔
联系
管理
订阅
2020年9月7日
自己简单封装一个promise
摘要: Promise封装 一、ES5 构造函数版 Promise对象 /** * promise封装 es5版本 */ function Mypromise (callback) { const _this = this this.value = undefined this.status = 'pend
阅读全文
posted @ 2020-09-07 19:13 Walker-lyl
阅读(508)
评论(0)
推荐(0)
编辑
公告