---
title: "Discussion on \"Variables & Primitives vs Non-primitive\" | Hashnode"
description: "Discussion on \"Variables & Primitives vs Non-primitive\". PRIMITIVE VS NON -PRIMITIVE\n\nPRIMITIVES ARE COPIED BY THEIR VALUE\n\nREFERENCE(non-primitive) ARE COPIED BY THEIR ADRESS/REFERENCES\n\nprimitive value types => string , number, boolean, undefined, null\n\nnon-primitive(reference type) types => array ,objec..."
url: "https://hashnode.com/posts/variables-primitives-vs-non-primitive/6419442091187884314d6312"
---

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

Discussion

# [Variables & Primitives vs Non-primitive](https://dipeshjoshi4.hashnode.dev/variables-primitives-vs-non-primitive?utm_source=hashnode&utm_medium=feed)

PRIMITIVE VS NON -PRIMITIVE PRIMITIVES ARE COPIED BY THEIR VALUE REFERENCE(non-primitive) ARE COPIED BY THEIR ADRESS/REFERENCES primitive value types => string , number, boolean, undefined, null non-primitive(reference type) types => array ,objec...

Mar 21, 2023 · 2 min read · dipeshjoshi4.hashnode.dev  
Read the article

## Written by

[dipesh joshi](https://hashnode.com/@dipeshjoshi4)

@dipeshjoshi4 · INDIA

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

Enthusiastic Frontier

I am Front-End Devloper and Designer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
