Why can't we `let s = super`?
/#!/JoePea
joe at trusktr.io
Sat Feb 18 03:45:35 UTC 2017
Why can't we store a reference to `super`? It seems counterintuitive and
prevents possible things like
```js
function metaStuff(sup) {
// do something else with super or with `this`
}
class Bar extends Foo {
constructor() {
let s = super
s()
metaStuff(s)
}
}
```
*/#!/*JoePea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170217/2160940d/attachment.html>
More information about the es-discuss
mailing list