3 ms·In typescript and js you get immutable references, but the data is mutable. Definitely not the same thingby Fire-Dragon-DoL 1y agoIn typescript and js you get immutable references, but the data is mutable. Definitely not the same thingdougherty 1y agoYou have `as const`. Yes I know it's not enforced at runtime, but the type system does support it.danenania 1y agoThere’s Object.freeze for enforcing at runtime.