Arrow functions bodies that are a single expression have an added benefit, an implicit return. This means that arrow function bodies without {} return the value of the expression without needing to use return. code example
Example 1: arrow function map js
const exampleArray = ['aa','bbc','ccdd'];
console.log(exampleArray.map(a => a.length));
Example 2: pass a variable by reference to arrow function
params => ({foo: bar})
(param1, param2, ...rest) => { statements }
(param1 = defaultValue1, param2, …, paramN = defaultValueN) => {
statements }
var f = ([a, b] = [1, 2], {x: c} = {x: a + b}) => a + b + c;
f();