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
wrote:
>
>
> On Sun, Aug 28, 2011 at 12:43 AM, jdalton
> wrote:
>>
>> > > I tried in Chrome and deleting just doesnt work...
> > 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://js
> In some browsers, Safari and Chrome at least, deleting the bad value will
> reveal the original value again.
Just to clarify this special behavior does *not* happen in Chrome (old
- canary) or Safari < 5.
- JDD
--
To view archived discussions from the original JSMentors Mailman list:
http:/