This was not true at some point, but now it seems to be the case in every
browser.

Just

Object.prototype.get = function(){};


and any further attempt to use Object.defineProperty(obj, key, {value:123})
will fail because defineProperty checks inherited get property, or set, and
these cannot be used together with value ...

Is this a bug or kinda a joke ?

Scary stuff, IMHO, thanks for clarifications.

br
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to