1. Home
  2. Javascript
  3. Arrow function

ES6 arrow function syntax. In one line arrow functions the function output is automatically returned.

#javascript#es6
(a, b) => { a + b };
copy
Full Javascript cheatsheet