Comment Comment by bluetech > Object.freeze does make an object immutableIf you look at the Hardened Javascript example: const makeCounter = () => { let count = 0; return harden({ incr: () => (count += 1), decr: () => (count -= 1), }); }; The "counter object" here is mutable. I think that's what they mean. parent bluetech 4 years ago
If you look at the Hardened Javascript example:
The "counter object" here is mutable. I think that's what they mean.