---
title: "Discussion on \"Why Do Weird Things Happen When I Clone Objects In JavaScript?\" | Hashnode"
description: "Discussion on \"Why Do Weird Things Happen When I Clone Objects In JavaScript?\". Learn what makes objects different from other data types and how to deal with them the right way"
url: "https://hashnode.com/posts/why-do-weird-things-happen-when-i-clone-objects-in-javascript/651622b3edd6dd83b9496746"
---

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

Discussion

# [Why Do Weird Things Happen When I Clone Objects In JavaScript?](https://codebasement.hashnode.dev/why-do-weird-things-happen-when-i-clone-objects-in-javascript?utm_source=hashnode&utm_medium=feed)

Learn what makes objects different from other data types and how to deal with them the right way

Sep 29, 2023 · 8 min read · codebasement.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#objects](https://hashnode.com/tag/objects)
-   [#primitive-datatypes](https://hashnode.com/tag/primitive-datatypes)
-   [#arrays](https://hashnode.com/tag/arrays)

## Written by

[Matheus Ribeiro](https://hashnode.com/@TheSirion)

@TheSirion · Niterói, RJ, Brazil

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

Trying to untangle the mess between web design and development

I believe programming can be a deeply creative skill. I like to find out about different ways to do things, methods, techniques and strategies that go beyond the conventional or just cool ways to solve problems. I'll share with you everything I learn as I learn it, in a way you can learn it too.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
