Shallow Copy A new object is created that has an exact copy of the values in the original object. If the original object points to another object, a separate copy of that object is not created, rather a reference to that object is passed. const a = {...

Markdown supported · ⌘↵ to post
Sidhartha Mallick
Faheem Khan
Web Developer, content creator.
Good article!