DEV Community

Discussion on: What's the best way to deeply clone an object in JavaScript?

Collapse
 
jasterix profile image
Jasterix

This is only a shallow clone so nested reference types would not be cloned