Função anônima JS Arrow
let show = function () {
console.log('Anonymous function');
};
//… can be shortened using the following arrow function:
let show = () => console.log('Anonymous function');
//Similarly, the following anonymous function:
let add = function (a, b) {
return a + b;
};
//is equivalent to the following arrow function:
let add = (a, b) => a + b;
Encouraging NeoBliz