---
title: "Discussion on \"JavaScript pass by value vs pass by reference\" | Hashnode"
description: "Discussion on \"JavaScript pass by value vs pass by reference\". The behavior of how JavaScript assigns values to variables is confusing for new developers.\n\nThis is because JavaScript passes values to variables by value"
url: "https://hashnode.com/posts/javascript-pass-by-value-vs-pass-by-reference/64e01985de57c9e3098e9e15"
---

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

Discussion

# [JavaScript pass by value vs pass by reference](https://blog.charlesavoaja.tech/javascript-pass-by-value-vs-pass-by-reference?utm_source=hashnode&utm_medium=feed)

The behavior of how JavaScript assigns values to variables is confusing for new developers. This is because JavaScript passes values to variables by value

Sep 21, 2022 · 4 min read · blog.charlesavoaja.tech  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Charles Avoaja](https://hashnode.com/@avoajacharles)

@avoajacharles

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

Front End Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
