weilou
weilou

Reputation: 4628

What is one-level deep copy in JavaScript?

What is one-level deep copy in JavaScript?

Upvotes: 3

Views: 670

Answers (1)

SLaks
SLaks

Reputation: 888223

This means a copy of an object in which the each property refers to a copy of the original property, (deep), but nested properties refer to the (uncloned) original nested properties (only 1 level of cloning)

Upvotes: 4

Related Questions