会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
养肥胖虎
博客园
首页
新随笔
联系
订阅
管理
2023年3月9日
第127篇:异步函数(async和await)练习题(异步,消息队列)
摘要: 好家伙,本篇为做题思考 书接上文 题目如下: 1.请给出下列代码的输出结果,并配合"消息队列"写出相关解释 async function foo() { console.log(2); console.log(await Promise.resolve(8)); console.log(9); }
阅读全文
posted @ 2023-03-09 23:25 养肥胖虎
阅读(168)
评论(0)
推荐(0)
编辑
公告