---
title: "Discussion on \"Simple things I just learned [Episode 1]: Javascript Value and Reference Types - 1\" | Hashnode"
description: "Discussion on \"Simple things I just learned [Episode 1]: Javascript Value and Reference Types - 1\". Okkkay. So while I was trying to solve a simple algorithmic problem yesterday, I kept on running into a bug that made me think deeper about what I already knew.\nI knew that Object, Function, and Array in javascript are passed by reference while Strin..."
url: "https://hashnode.com/posts/simple-things-i-just-learned-episode-1-javascript-value-and-reference-types-1/5ff973caaa5c467fe15582f0"
---

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

Discussion

# [Simple things I just learned \[Episode 1\]: Javascript Value and Reference Types - 1](https://asipita.hashnode.dev/simple-things-i-just-learned-episode-1-javascript-value-and-reference-types-1?utm_source=hashnode&utm_medium=feed)

Okkkay. So while I was trying to solve a simple algorithmic problem yesterday, I kept on running into a bug that made me think deeper about what I already knew. I knew that Object, Function, and Array in javascript are passed by reference while Strin...

Jan 9, 2021 · 5 min read · asipita.hashnode.dev  
Read the article

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

## Written by

[Shuaib Abdulgafar](https://hashnode.com/@Asipita)

@Asipita · Abuja, Nigeria

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

Front-end Developer, React - Next.js and friends

Experienced Front-end Developer specializing in React and Next.js with a focus on creating appealing, responsive user interfaces. Skilled in SEO, Accessibility, Node.js, MongoDB, and JAMstack architecture for optimal web performance and streamlined content management.

## Responses 3

Markdown supported · ⌘↵ to post

[Ahmed Sulaiman](https://hashnode.com/@Ahmitus)

[Jan 9, 2021](https://hashnode.com/posts/simple-things-i-just-learned-episode-1-javascript-value-and-reference-types-1/5ff973caaa5c467fe15582f0/comment/5ff9f870a538d00135154d98)

I learnt something new. Thanks :)

[OLUSHOLA BUSAYO](https://hashnode.com/@Busganda)

[Jan 9, 2021](https://hashnode.com/posts/simple-things-i-just-learned-episode-1-javascript-value-and-reference-types-1/5ff973caaa5c467fe15582f0/comment/5ff9ab4daa5c467fe1558637)

Great analogy. This breaks everything down. It also saves memory used.

[AbdulHameed Quadri](https://hashnode.com/@Softcoder404)

[Jan 9, 2021](https://hashnode.com/posts/simple-things-i-just-learned-episode-1-javascript-value-and-reference-types-1/5ff973caaa5c467fe15582f0/comment/5ff97b25aa5c467fe1558386)

Wow! Just understand this store by value and by reference of a thing... Thanks for using a simple scenario for the illustration... I love the EBA part😅
