JS Referential Transparency
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...
vkglobal.hashnode.dev1 min read