3 ms·
This is not efficient. Each iteration creates a new array instance due to the spread operator.
by v413 5y ago
This is not efficient. Each iteration creates a new array instance due to the spread operator.
- spiralx 5y ago`acc.concat()` also creates a new array instance, so I don't get your point.