---
title: "Discussion on \"Referential Equality In JavaScript.\" | Hashnode"
description: "Discussion on \"Referential Equality In JavaScript.\". Why two arrays with identical elements are not the same?"
url: "https://hashnode.com/posts/referential-equality-in-javascript/63020c32dc09f71f101c707f"
---

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

Discussion

# [Referential Equality In JavaScript.](https://themainakb.hashnode.dev/referential-equality-in-javascript?utm_source=hashnode&utm_medium=feed)

Why two arrays with identical elements are not the same?

Aug 21, 2022 · 4 min read · themainakb.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array-javascript-array-methods-map-filter-foreach](https://hashnode.com/tag/array-javascript-array-methods-map-filter-foreach)
-   [#objects](https://hashnode.com/tag/objects)
-   [#javascript-object-methods](https://hashnode.com/tag/javascript-object-methods)

## Written by

[Mainak Banerjee](https://hashnode.com/@themainakb)

@themainakb

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

Marketer Turned Web Developer

Hi, I am Mainak Banerjee an Engineering dropout turned Marketer and now learning Web Development. I am currently working as a Marketing Manager in an Agency. With that, I am learning Full Stack Web Development as a Side Hustle. Here are the skills I have - As a Web Developer:- ✅ HTML ✅ CSS ✅ Vanilla JS ✅ Git/GitHub Recent Goal is to Get a Job as a Web Developer Within December 2022.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
