function sleep(t) { return new Promise(res => setTimeout(res, t)) } async function main() { await sleep(5000) console.log('hello') } main()
確定! 回上一頁