BTF Measurements

Brendan Eich brendan at mozilla.org
Tue Mar 13 23:29:20 PDT 2012


Rick Waldron wrote:
> Over the weekend I applied David Herman's new tri-lambda syntax to 
> Popcorn.js to see how it would look and feel:
>
> https://github.com/rwldrn/popcorn-js/compare/tri-lambda

Hi Rick, just FYI,

+      global.Popcorn[ methods.shift() ] = () => void 0;


could be written

+      global.Popcorn[ methods.shift() ] ==>;



as in CoffeeScript, per 
http://wiki.ecmascript.org/doku.php?id=strawman:arrow_function_syntax 
(which I will revise tomorrow to reflect tri-lambdas).

/be


More information about the es-discuss mailing list