DEV Community

loading...

Discussion on: Spread Operator: don't misuse it

Collapse
alekseiberezkin profile image
Aleksei Berezkin

Thanks for sharing. Case 1 is square complexity thus it's the slowest. Case 3 is linear but creates a lot of intermediate arrays.