News for hackers. Stuff that matters.
Re:The Brutal Lifecycle of JavaScript Frameworks by scottmf on Friday January 12, 2018 @10:59AM (#16133817)
The code loops through an array, has side effects and returns nothing so forEach would be more descriptive IMO.

As for simple/readable it’s the same code but s/map/forEach.

There are no comments on this comment yet.