摘要:
数组是可迭代的 var a = []; console.dir(a); 发现这里有一个Symbol.iterator ,说明它是可迭代的。 object 是不可以迭代的 var a = {} console.dir(a); 发现这里没有iterator set weakset map weakmap 阅读全文
摘要:
个人翻译 原文:https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/ The Node.js Event Loop, Timers, and process.nextTick() What is the Event Loo 阅读全文