arrow function syntax simplified

Axel Rauschmayer axel at rauschma.de
Thu Mar 29 15:25:57 PDT 2012


My bad. It is, minus [[Construct]] and *.prototype. I misremembered how bind() works.

On Mar 30, 2012, at 0:01 , Axel Rauschmayer wrote:

> Interesting. So x => x * x is not just syntactic sugar for
> 
>      function (x) { return x * x }.bind(this)
> 

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120330/28c6d2de/attachment-0001.html>


More information about the es-discuss mailing list