Y
Hacker News
new
|
ask
|
show
|
jobs
by
v413
1628 days ago
This is not efficient. Each iteration creates a new array instance due to the spread operator.
1 comments
spiralx
1622 days ago
`acc.concat()` also creates a new array instance, so I don't get your point.
link