会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Code change my mind
You have to believe in yourself. That's the secret of success.
博客园
首页
新随笔
联系
管理
订阅
2018年12月28日
Promise源码深入理解
摘要: // promise的第一版实现 function myPromise(constructor) { let self = this; self.status = "pending" //定义状态改变前的初始状态 self.value = undefined; //定义状态为resolved的时候的
阅读全文
posted @ 2018-12-28 21:44 focus_yaya
阅读(393)
评论(0)
推荐(0)
公告