Deep vs Shallow copy
What exactly is deep or shallow copy?
According to the MDN docs,
Deep copy
A deep copy of an object is a copy whose properties do not share the same references (point to the same underlying values) as those of the source object from which the copy...
tanveersblog.hashnode.dev5 min read