---
title: "Discussion on \"Reference VS. Primitive Values\" | Hashnode"
description: "Discussion on \"Reference VS. Primitive Values\". Primitives : We store the actual value.\n\nReference : Here variable store the address where the data in heap memory is located. This doesn't store the actual"
url: "https://hashnode.com/posts/reference-vs-primitive-values/61eaf5e85fbc177f9f3b30fd"
---

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

Discussion

# [Reference VS. Primitive Values](https://surajit-shaw.com/reference-vs-primitive-values?utm_source=hashnode&utm_medium=feed)

Primitives : We store the actual value. Reference : Here variable store the address where the data in heap memory is located. This doesn't store the actual

Jan 21, 2022 · 2 min read · surajit-shaw.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#javascript-books](https://hashnode.com/tag/javascript-books)

## Written by

[Surajit Shaw](https://hashnode.com/@surajit)

@surajit

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

Build, Learn & Repeat

I'm a JavaScript enthusiast. Currently learning web development, want to share my learning with others.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
