宏任务有哪些?

I/O
setTimeout
setInterval
setImmediate
requestAnimationFrame

微任务有哪些?

Promise
MutationObserver