Stop Making This Mistake: Shallow vs. Deep Cloning in JavaScript
If you've ever changed a property in a "copied" object only to find that the original object changed too, you’ve been bitten by the "Shallow Clone" bug.
In JavaScript, understanding the difference between Shallow and Deep clones is the difference bet...
zainul.hashnode.dev3 min read