Re:Using const/let instead of var can make JavaScript code r...
by yashap on Thursday October 22, 2020 @10:51AM
(#24858621)
I like FP too, but most languages, including FP ones, have both mutable/immutable references and mutable/immutable values. And in JS, things like strings, numbers and booleans are immutable value, plus immutable.js is quite popular for immutable data structures, especially in React+Redux apps.
[ Parent
| on HN ]
There are no comments on this comment yet.