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.