//1async function f() { return 'hello world';}f().then(res => console.log(res))//2async function f() { return await 'hello world';}f().then(res => console.log(res)) 寫法一和寫法二有啥區(qū)別
關(guān)于async的疑問
哈士奇WWW
2019-03-14 14:15:50