//1
async function f() {
return 'hello world';
}
f().then(res => console.log(res))
//2
return await 'hello world';
写法一和写法二有啥区别
慕神8447489
慕少森
江户川乱折腾
相关分类