Immutability: Const and Object.Freeze
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