Object.defineMethod()?

Axel Rauschmayer axel at rauschma.de
Mon Aug 6 14:39:33 PDT 2012


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120806/cb6ebbd9/attachment-0001.html>


More information about the es-discuss mailing list