In my experience most "immutability" in JS is enforced by convention or, at best, static type systems. It's not ideal, but it works.
I suppose that still only fits in the "immutable by convention" category, though.
In my experience most "immutability" in JS is enforced by convention or, at best, static type systems. It's not ideal, but it works.