会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
三线码工
博客园
首页
新随笔
联系
订阅
管理
2020年11月21日
es6语法的 Promise async 和 await是什么意思
摘要: 都是处理异步请求的 // 申明一个异步方法 async function testAsync() { return "hello async"; } const result = testAsync(); console.log(result); // 输出 Promise 对象。async 函数会
阅读全文
posted @ 2020-11-21 16:55 三线码工
阅读(453)
评论(0)
推荐(0)
编辑
公告