Node.js support for => (arrow function)

In short: yes, arrow functions are reasonably well supported in Node.js since version 4.4.5.

Completely correct support starts with version 6. Initial support was introduced as far as v0.12 but is was very incomplete and disabled by default until v4.0 when it got better. See Node’s ES6 compatibility table for details: http://node.green/#ES2015-functions-arrow-functions.

Leave a Comment