而Event Queue 中又分為: macro-task:包括整體代碼script,setTimeout,setInterval; micro-task:Promise,process.nextTick(優先權較Promise高).
確定! 回上一頁