Shallow Copy

Term side of the Card
Topic: Basics
Unit title: Shallow Copy
Categories: Concept
Explanation side of the Card

Explanation: The process of creating a copy of an object where only the top-level properties are duplicated. If the original object contains nested objects, the references to those nested objects are shared between the original and the copy. This means that changes to the nested objects in the copy will also affect the original.

Edit on GitHubContributions in our content repository are 🤗 welcome from everyone.Link leads to the Contributions guidelines on GitHubLink leads to the content repository on GitHub