promise升级版async,await来袭,搭配try+catch更香哦
摘要:promise升级版async,await来袭,搭配try+catch更香哦:https://blog.csdn.net/wxiao_xiao_miao/article/details/120375060 async,await 是es7中新增的语法,用来进一步改进异步代码的写法,是promise升
阅读全文
posted @ 2022-05-24 22:48