> Le 24 avr. 2015 à 03:25, Caitlin Potter <[email protected]> a écrit :
> 
> So, why exactly is SuperCall forbidden in function bodies? If people work 
> around it with Reflect.construct anyways, it just seems nice to use SuperCall 
> instead — at least if new.target is defined

Note that `super(...)` will try to initialise the `this` binding—which won’t 
work in plain functions. 

—Claude

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to