DEV Community

Discussion on: Spread vs Rest Operators in JavaScript

Collapse
 
smart_egg profile image
Dmitriy A.

Spreading plain single-dimension arrays into array is the great and undervalued way to clone the Array!