Understanding of Deep Copy and Shallow Copy in JavaScript
Have you ever copied an object in Javascript, only to find out the changes in the new object also affect the original? But you clearly made a copy, so why does the original still get affected?
This is why understanding the concept of deep copy and sh...
kannanravi.hashnode.dev5 min read