top | item 9687879

(no title)

Havvy | 10 years ago

instanceof cannot be determined statically because I can do...

    const a = {};
    Object.setPrototypeOf(a, SomethingElse);

discuss

order

pm24601|10 years ago

really? even on a frozen object?

Remember I have said const PLUS Object.freeze() Both are needed to get the true immutable effect.