Object.defineMethod()?

Allen Wirfs-Brock allen at wirfs-brock.com
Mon Aug 6 15:47:04 PDT 2012


but see the := proposal...

On Aug 6, 2012, at 2:39 PM, Axel Rauschmayer wrote:

> Makes sense! Thanks!
> 
> On Aug 6, 2012, at 23:29 , Brendan Eich <brendan at mozilla.org> wrote:
> 
>> Rick Waldron wrote:
>>> On Monday, August 6, 2012 at 4:18 PM, Axel Rauschmayer wrote:
>>>> Will that function still be added, or will its work (setting up [[Home]] and [[MethodName]]) be done via Object.defineProperty? I couldn’t find anything in the draft.
>>> 
>>> It was part of the object initializer proposal
>>> 
>>> http://wiki.ecmascript.org/doku.php?id=harmony:object_initialiser_super
>> 
>> As your fine notes from https://mail.mozilla.org/pipermail/es-discuss/2012-May/022838.html say
>> 
>> "Resolution: Defer super outside of classes"
>> 
>> That means no free 'super' in functions not defined as methods, and no Object.defineMethod. The ES6 draft reflects this.
>> 
>> /be
>> 
> 
> -- 
> Dr. Axel Rauschmayer
> axel at rauschma.de
> 
> home: rauschma.de
> twitter: twitter.com/rauschma
> blog: 2ality.com
> 
> _______________________________________________
> 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/20120806/f7bd6960/attachment-0001.html>


More information about the es-discuss mailing list