Better HN
top
new
best
ask
show
jobs
Log in
Sign up
25563765
7 karma · joined May 12, 2018 (8y ago) · 2 submissions
Submissions
comment 8y ago ·
link
·
parent
This often isn’t possible.
comment 8y ago ·
link
·
parent
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.