会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
memeflyfly
博客园
首页
新随笔
联系
订阅
管理
2021年1月31日
asycn和await
摘要: 获取成功的结果 1 // 摇骰子函数 2 function ysz() { 3 return new Promise((resolve, reject) => { 4 let sino = parseInt(Math.random() * 6 + 1) 5 setTimeout(() => { 6
阅读全文
posted @ 2021-01-31 18:03 memeflyfly
阅读(269)
评论(0)
推荐(0)
编辑
公告