[whatwg] Overriding functions in DOM Storage

Cameron McCormack:
> Another edge case:
?
>   // Just a normal property deletion...
>   delete Storage.prototype.removeItem;

Actually I just realised that this won?t work, since properties that
correspond to operations are DontDelete.  But this and the other example
can still demonstrate when corresponding named properties get created
and removed if you use Storage.prototype.blah, for example (which when
created wouldn?t be DontDelete).

-- 
Cameron McCormack ? http://mcc.id.au/

Received on Sunday, 21 June 2009 05:27:21 UTC