On Scope And Prototype Security

Andrea Giammarchi andrea.giammarchi at gmail.com
Tue Mar 19 17:24:34 PDT 2013


 inside my bloody own prototype! ==> my own closure/private scope


On Tue, Mar 19, 2013 at 5:24 PM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> wrote:

> but it perfectly represent what I'd like to achieve through JavaScript, a
> "class" or prototype that does not exist out there, but it's defined inside
> my bloody own prototype!
>
> I have done here, apologies it took so long to provide the right example.
> Now I'll wait 'till the day that would be possible, usually stuff I propose
> takes 2 years before it goes out, it won't be the first time even here.
>
> Best Regards
>
>
> On Tue, Mar 19, 2013 at 5:21 PM, Brandon Benvie <bbenvie at mozilla.com>wrote:
>
>>  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.
>>
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130319/8d6e80a5/attachment.html>


More information about the es-discuss mailing list