I would like to make an object\'s structure immutable, preventing its properties from being subsequently replaced. The properties need to be readable, however. Is this possi
ECMAScript 5 will have seal() and freeze(), but there's no good way to do this with current JavaScript implementations.
seal()
freeze()
Source.