Hacker News new | ask | show | jobs
by tomatsu 3549 days ago
> Interview question: "iterate over an array":

  for(let thing of things) {...}
forEach only obfuscates the imperative nature of your loop.
1 comments