---
title: "Discussion on \"JS Referential Transparency\" | Hashnode"
description: "Discussion on \"JS Referential Transparency\". Twitter  Youtube \nhttps://youtu.be/bIH_2PCQFkw\nAn expression in javascript can be replaced by its value is called referential transparency.\nconst add = (x,y)=>x + y;\n\nconst multiply = (x)=>x * 4;\n\n// add (3, 4) can be replaced by 7. - Referential Tra..."
url: "https://hashnode.com/posts/js-referential-transparency/61e4f64800c806252387ab27"
---

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

Discussion

# [JS Referential Transparency](https://vkglobal.hashnode.dev/js-referential-transparency?utm_source=hashnode&utm_medium=feed)

Twitter Youtube https://youtu.be/bIH\_2PCQFkw An expression in javascript can be replaced by its value is called referential transparency. const add = (x,y)=>x + y; const multiply = (x)=>x \* 4; // add (3, 4) can be replaced by 7. - Referential Tra...

Jan 17, 2022 · 1 min read · vkglobal.hashnode.dev  
Read the article

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

## Written by

[Mahesh](https://hashnode.com/@urstrulyvishwak)

@urstrulyvishwak · India

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

Dad | Web developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
