It is kind of bothersome... because the properties of Object.prototype are the one you can't really get a polyfill for...
On Sun, Aug 28, 2011 at 1:25 AM, Lasse Reichstein <[email protected]> wrote: > > > On Sun, Aug 28, 2011 at 12:43 AM, jdalton <[email protected]> > wrote: >> >> > > I tried in Chrome and deleting just doesnt work... >> > > Deleting hasOwnProperty just... deletes it >> > >> > Ack, yes, my bad. That only works for the properties on, e.g., >> > Object.prototype, not the ones on Object itself. >> >> It doesn't work in Chrome on properties of Object.prototype either: >> http://jsbin.com/upacol > > Ack, you're right. > It works on Array.prototype, Date.prototype, String.prototype and even the > Math object, but not on Object.prototype (probably because it's what Safari > does too). Reason unknown :) > /L > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
