`super.foo(x)` is equivalent to

```js
Object.getPrototypeOf(me.[[HomeObject]]).foo.call(this, x);
```

(where `me` refers to the current function)


On Dec 9, 2013, at 18:28 , James Long <longs...@gmail.com> wrote:

> I'll keep digging through the spec, but if someone has a quick example
> what ES5 code I could compile to for roughly the same semantics, that
> would be helpful.

-- 
Dr. Axel Rauschmayer
a...@rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com



_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to