Provides strictly readonly collections at runtime including ReadonlyMap and ReadonlySet.
The protection level provided is for accidental modification. A determined caller could still mutate via
Map.prototype.set.call(frozenMap, ...) or Set.prototype.add.call(frozenSet, ...).
Provides strictly readonly collections at runtime including ReadonlyMap and ReadonlySet.
The protection level provided is for accidental modification. A determined caller could still mutate via
Map.prototype.set.call(frozenMap, ...)orSet.prototype.add.call(frozenSet, ...).