Promise sub-class: super((resolve, reject) => this) ?
matthewwrobb at gmail.com
Tue Jun 2 22:35:40 UTC 2015
I was trying to demonstrate a simple method of exposing resolve and reject
functions to someone and noticed in Babel at least you cannot do this. It
seems as though in this case when the arrow function is called it will have
been AFTER the call to super.
Can someone help me understand what's going on here?
- Matthew Robb
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss