On Scope And Prototype Security

Brandon Benvie bbenvie at mozilla.com
Tue Mar 19 17:21:49 PDT 2013

On 3/19/2013 5:17 PM, Andrea Giammarchi wrote:
> but [[Class]] of arguments is Arguments
> so this is exactly what I meant ... finally I found the perfect 
> example: Arguments ... the class is unreachable, all instances can be 
> manipulated, theoretically, behind the scene to throw, retrieve, or 
> do, whatever.

It's not that it's unreachable...it doesn't exist. The spec doesn't call 
for some hidden prototype object that properties can be on; it specifies 
an exotic object type with some different internal methods. Internal 
methods are not inherited prototypally.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130319/0a80f09c/attachment.html>

More information about the es-discuss mailing list