---
title: "Discussion on \"A Simple Guide to Heaps, Stacks, References and Values in Javascript\" | Hashnode"
description: "Discussion on \"A Simple Guide to Heaps, Stacks, References and Values in Javascript\". A common concept in software engineering in general is the idea of reference versus value. Javascript has an interesting way of storing variables, objects, and functions, and misunderstanding this can lead to confusion further down the road. It's imp..."
url: "https://hashnode.com/posts/a-simple-guide-to-heaps-stacks-references-and-values-in-javascript/62418daa1bfa97c5345e98e5"
---

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

Discussion

# [A Simple Guide to Heaps, Stacks, References and Values in Javascript](https://fjolt.hashnode.dev/a-simple-guide-to-heaps-stacks-references-and-values-in-javascript?utm_source=hashnode&utm_medium=feed)

A common concept in software engineering in general is the idea of reference versus value. Javascript has an interesting way of storing variables, objects, and functions, and misunderstanding this can lead to confusion further down the road. It's imp...

Mar 28, 2022 · 4 min read · fjolt.hashnode.dev  
Read the article

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

## Written by

[Johnny](https://hashnode.com/@smpnjn)

@smpnjn

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

Product, Engineering, Web

## Responses 1

Markdown supported · ⌘↵ to post

[Njong Emy](https://hashnode.com/@njong329)

[Mar 28, 2022](https://hashnode.com/posts/a-simple-guide-to-heaps-stacks-references-and-values-in-javascript/62418daa1bfa97c5345e98e5/comment/62418f041bfa97c5345e992a)

Thank you very much for sharing this insightful article! I learnt something new today :)

[Johnny](https://hashnode.com/@smpnjn)

[Mar 28, 2022](https://hashnode.com/posts/a-simple-guide-to-heaps-stacks-references-and-values-in-javascript/62418daa1bfa97c5345e98e5/comment/62418f041bfa97c5345e992a#reply-62418f57db84f8c50fa5a0a6)

Thank you :)
