UNPKG

es6-arrow-function

Version:

Shorthand arrow functions compiled to ES5.

5 lines (3 loc) 80 B
/* jshint esnext:true */ var square = x => x * x; assert.equal(square(4), 16);