---
title: "Discussion on \"Understanding Memory Allocation in JavaScript: Primitives vs. Reference Types.\" | Hashnode"
description: "Discussion on \"Understanding Memory Allocation in JavaScript: Primitives vs. Reference Types.\". How Primitive and Reference Data types are stored in javascript"
url: "https://hashnode.com/posts/understanding-memory-allocation-in-javascript-primitives-vs-reference-types/654e15eecd0809152b620927"
---

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

Discussion

# [Understanding Memory Allocation in JavaScript: Primitives vs. Reference Types.](https://fruitfulejiro.hashnode.dev/understanding-memory-allocation-in-javascript-primitives-vs-reference-types?utm_source=hashnode&utm_medium=feed)

How Primitive and Reference Data types are stored in javascript

Nov 10, 2023 · 3 min read · fruitfulejiro.hashnode.dev  
Read the article

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

## Written by

[Fruitful Ejiro](https://hashnode.com/@Frutfl)

@Frutfl · Asaba, Nigeria

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

I share insights, tips, and tricks for Web Development

Web Developer 🌐

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
