const a = {}; Object.setPrototypeOf(a, SomethingElse);
Remember I have said const PLUS Object.freeze() Both are needed to get the true immutable effect.
Remember I have said const PLUS Object.freeze() Both are needed to get the true immutable effect.