---
title: "Discussion on \"Shallow/Deep copying Arrays and Objects in JavaScript\" | Hashnode"
description: "Discussion on \"Shallow/Deep copying Arrays and Objects in JavaScript\". Every beginner JavaScript developer at some point during his language basics studies is met with a task of copying an array or an object into another array or an object. As easy as it may sound, it does not always lead to the expected result, which l..."
url: "https://hashnode.com/posts/shallowithdeep-copying-arrays-and-objects-in-javascript/5f76f7039c3b6e410121590c"
---

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

Discussion

# [Shallow/Deep copying Arrays and Objects in JavaScript](https://cat-logic.hashnode.dev/shallowithdeep-copying-arrays-and-objects-in-javascript?utm_source=hashnode&utm_medium=feed)

Every beginner JavaScript developer at some point during his language basics studies is met with a task of copying an array or an object into another array or an object. As easy as it may sound, it does not always lead to the expected result, which l...

Jul 10, 2020 · 4 min read · cat-logic.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#array](https://hashnode.com/tag/array)
-   [#object](https://hashnode.com/tag/object)

## Written by

[Andrey Kudryavtsev](https://hashnode.com/@cat-logic)

@cat-logic · Moscow, Russia

  
[View profile](https://hashnode.com/@cat-logic)

MERN follower, photographer, cat lover, gamer and more

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
