3 ms·
Object.freeze does give you shallow immutability in javascript, though it makes setters fail without throwing.
by erik_seaberg 7y ago
Object.freeze does give you shallow immutability in javascript, though it makes setters fail without throwing.