Functional-Lite JavaScript Functional-Lite JavaScript

Immutability: Const and Object.Freeze

Kyle Simpson
Kyle Simpson
You Don't Know JS

To a functional programmer, immutability refers to a variables ability to be changed. Kyle illustrates this by explaining the difference between using the “const” keyword and using Object.freeze().

Get Unlimited Access Now