async 語法必須寫在函式宣告前面,用來告訴JS 這個函式是一個非同步的函式,就像這樣: async function asyncFunc() { return "Hey!"; } asyncFunc() // ...
確定! 回上一頁