So to finalize: There is no way to do this with fat arrow, rather fat arrow is not meant for this? On Feb 10, 2014 6:38 PM, "Claude Pache" <[email protected]> wrote:
> > Le 10 févr. 2014 à 09:53, Hemanth H.M <[email protected]> a écrit : > > I do understand Arrow functions are like built-in functions in that both > lack .prototype and any [[Construct]] internal method > > > It is not the main feature of arrow-functions. The essential difference > between arrow- and non-arrow-function, is that the former uses a lexical > `this-binding and the latter uses a `this`-binding determined by call site. > > When you add methods on a prototype, you typically need to have a > reference to the object on which the method is called. So you need a > non-arrow function. > > --Claude > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

