Skip to content

Commit 1f8dfeb

Browse files
committed
Update formatting
1 parent d8a2744 commit 1f8dfeb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9530,6 +9530,7 @@ Common use cases and benefits:
95309530
```
95319531
95329532
**[⬆ Back to Top](#table-of-contents)**
9533+
95339534
477. ### What is structuredClone and how is it used for deep copying objects?
95349535
95359536
In JavaScript, `structuredClone()` is a built-in method used to create a **deep copy** of a value. It safely clones nested objects, arrays, Maps, Sets, Dates, TypedArrays, and even circular references — without sharing references to the original value. This prevents accidental mutations and makes it useful for state management and data processing.

0 commit comments

Comments
 (0)