Stop Making This Mistake: Shallow vs. Deep Cloning in JavaScript
Jan 7 · 3 min read · 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...
Join discussion