DEV Community

Discussion on: How to Deep Clone an Array in JavaScript

Collapse
 
samanthaming profile image
Samantha Ming

Yup! In those cases, if you want a true copy, you will need to do a deep clone. Thanks for sharing!