← Back to release summary

Arrow functions (ES6)

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 45)
Intent stage
None

Summary

The arrow (=>) takes the place of the function keyword

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

Samples: https://googlechrome.github.io/samples/arrows-es6/index.html

View on chromestatus.com