ES8(ECMAScript 2017)新增了async、await 語法,如〈Promise〉中談過的,可以用來令非 ... getElementById('req').onclick = async function() { let resp = await ...
確定! 回上一頁