---
title: "Discussion on \"Object Cloning in JavaScript (Deep vs. Shallow Copies) - A Comprehensive Guide\" | Hashnode"
description: "Discussion on \"Object Cloning in JavaScript (Deep vs. Shallow Copies) - A Comprehensive Guide\". Deep vs. Shallow Copies"
url: "https://hashnode.com/posts/object-cloning-in-javascript-deep-vs-shallow-copies-a-comprehensive-guide/650828ed1bd1d32d3f96b7c4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Object Cloning in JavaScript (Deep vs. Shallow Copies) - A Comprehensive Guide](https://scribe.elijahthis.com/object-cloning-in-javascript-deep-vs-shallow-copies-a-comprehensive-guide?utm_source=hashnode&utm_medium=feed)

Deep vs. Shallow Copies

Sep 18, 2023 · 10 min read · scribe.elijahthis.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#js](https://hashnode.com/tag/js)
-   [#json](https://hashnode.com/tag/json)
-   [#javascript-cloning-objectcloning-arraycloning-deepcloning-shallowcloning-spreadoperator-jsonserialization-datamanipulation-codeexamples-webdevelopment-programmingtips-dataintegrity-bestpractices-codesnippets](https://hashnode.com/tag/javascript-cloning-objectcloning-arraycloning-deepcloning-shallowcloning-spreadoperator-jsonserialization-datamanipulation-codeexamples-webdevelopment-programmingtips-dataintegrity-bestpractices-codesnippets)
-   [#deep-copy-vs-shallow-copy](https://hashnode.com/tag/deep-copy-vs-shallow-copy)

## Written by

[Elijah Oyerinde](https://hashnode.com/@elijahthis)

@elijahthis

  
[View profile](https://hashnode.com/@elijahthis)

Software Engineer. Not-so-secret book nerd. I love my uke

Software Engineer. Not-so-secret book nerd. I love my uke

## Responses 1

Markdown supported · ⌘↵ to post

[Lionel A.](https://hashnode.com/@spykelionel)

[Sep 22, 2023](https://hashnode.com/posts/object-cloning-in-javascript-deep-vs-shallow-copies-a-comprehensive-guide/650828ed1bd1d32d3f96b7c4/comment/650e07acf92a4f31b465637c)

This was helpful
