arrow function syntax simplified

Herby Vojčík herby at mailbox.sk
Sun Apr 8 04:00:09 PDT 2012



Angus Croll wrote:
>
> On Fri, Mar 30, 2012 at 4:46 AM, Felix Böhm <esdiscuss at feedic.com
> <mailto:esdiscuss at feedic.com>> wrote:
>
>     How about a "loose-bound" |this|, so that the function falls back to
>     the bound |this| instead of the global scope when no other options
>     are available (or `null` or `undefined` are passed to
>     `.apply/.bind/.call`)?
>
>
> I strongly support this proposal.

No special cases for null or undefined, please.

> Angus

Herby


More information about the es-discuss mailing list