[PROPOSAL] "use" keyword

Michaël Rouges michael.rouges at gmail.com
Fri Jul 25 14:41:26 PDT 2014


@ Andrea :

.call, .apply and .bind change the this in the function, then it can't
catch the goal and it doesn't work with non-writable methods again.

It's why my detailled example (
http://esdiscuss.org/topic/proposal-use-keyword#content-4) is written with
object methods (to etablish all constraints).

And don't worry... dont make a fixation on the PHP use, read the last
Rick's post. ;)


Michaël Rouges - https://github.com/Lcfvs - @Lcfvs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140725/9dc2f832/attachment.html>


More information about the es-discuss mailing list