Skip to content

Harmony

Jérémie Astori edited this page Feb 4, 2015 · 1 revision

Should Echidna switch to ECMAScript 6 (Harmony)?

Pros

foo.map(function (x) { return x * x; });
// ... becomes ...
foo.map(x => x * x);

Cons

  • Need to run node with the --harmony flag