3 ms·
Glad to see that my explanation wasn't hopelessly incomprehensible. Now if only JS supported immutability... I think I'll go learn some more Clojure. :)
by calebmpeterson 15y ago
Glad to see that my explanation wasn't hopelessly incomprehensible.
Now if only JS supported immutability... I think I'll go learn some more Clojure. :)
- olavk 15y agoIn ECMAScript 5 there is support for immutability with Object.seal(), Object.freeze() and Object.preventExtensions()