---
title: "#structured-clone-javascript articles | Hashnode"
description: "Explore 1 articles tagged #structured-clone-javascript on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/structured-clone-javascript"
---

Tag

# #structured-clone-javascript

1 posts · 0 followers

[Iman Rousta](https://hashnode.com/@irousta) · [Jan 5, 2023](https://hashnode.com/posts/how-to-clone-anything-in-javascript/63b6cb263097179674d95b73)

### [How to clone anything in JavaScript](https://irousta.hashnode.dev/how-to-clone-anything-in-javascript?utm_source=hashnode&utm_medium=feed)

The global structuredClone() can be used to create a deep copy of a given value. Example In this example, we clone an object. After cloning, changes to each object do not affect the other object. const fruits = { citrus: \["orange", "grapefruit", "l...

1 min read · [irousta.hashnode.dev](https://irousta.hashnode.dev/how-to-clone-anything-in-javascript?utm_source=hashnode&utm_medium=feed)
