Deep vs Shallow Clone - How (and how not) to deep clone a JavaScript object
In my experience as a JavaScript developer, I have seen some very weird bugs arising due to variables being shallow clones instead of deep clones. In this article, we discuss the difference between a shallow and a deep clone, and the right way (and w...
praffuljavare.hashnode.dev4 min read