Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
v413
· 4y ago · 0 comments
This is not efficient. Each iteration creates a new array instance due to the spread operator.
Comments
[–]
spiralx
4y ago
`acc.concat()` also creates a new array instance, so I don't get your point.