arrow function without expressison code example
Example 1: javascript arrow function
let errow = () => {
//the code you want to return;
};
Or
let errow = ('paramiter') => {
//the code you want to return
}
Example 2: es6 functions
const add = (n1, n2) => n1 + n2