es-discuss Digest, Vol 52, Issue 117
brendan at mozilla.com
Mon Jun 20 15:43:47 PDT 2011
On Jun 20, 2011, at 2:51 PM, Peter Michaux wrote:
> By the way, I like this idea that "super" is available all the time
> (not just in an initializer) like "this" is always available; however,
> adding another implicit variable "here" which is dynamic like "this"
> to say the least.
'super' is not dynamic as proposed in http://wiki.ecmascript.org/doku.php?id=harmony:object_initialiser_super. Even in Allen's recent post about Object.defineMethod, 'super' is not bound dynamically per call site, as 'this' is. It's a hidden property of the function object.
More information about the es-discuss