HNHacker News
TopNewBestAskShowJobs

25563765

7 karma · joined May 12, 2018

submissionscomments
25563765··on JavaScript- Lodash vs Js function vs. for vs. for each
This often isn’t possible.
25563765··on JavaScript- Lodash vs Js function vs. for vs. for each
His for loop modifies the data in-place, compared to map, which returns a new array. This is just one of many things wrong with this test.