Mark S. Miller (2015-02-19T18:06:32.000Z)
d at domenic.me (2015-02-22T03:29:31.596Z)
On Thu, Feb 19, 2015 at 9:54 AM, Andrea Giammarchi <andrea.giammarchi at gmail.com> wrote: > Just as workaround, if you really need that much to freeze the > `Object.prototype`, you could: Your defineProperty call above has no effect. When doing a defineProperty on an existing property, recall that omitting attributes means that the setting of these attributes should not be changed. Omitted attributes only default to false when the property does not already exist. Interesting that I've seen this bug several times now, by several different authors. Apparently, it is an unanticipated footgun in the ES5 reflection API.