arrow function syntax simplified

Kevin Smith khs4473 at
Fri Mar 30 06:43:45 PDT 2012

>     // Or maybe change the framework to better take advantage of arrows?:
>     $("body").on("click", e => $(e).hide());

To clarify, the $ function could hypothetically take an event object and
return the set containing event.currentTarget.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list