会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
sunmarvell
博客园
首页
新随笔
联系
订阅
管理
2018年8月31日
关于setTimeout和Promise执行顺序问题
摘要: 先看一段代码 console.log('打印'+1); setTimeout(function(){ console.log('打印'+2); }) new Promise(function(resolve,reject){ console.log('打印'+3); }).then( console
阅读全文
posted @ 2018-08-31 11:21 sunmarvell
阅读(21328)
评论(2)
推荐(2)
编辑
公告