Arrow Function Syntax


const printMyName = (name) => {
console.log(name);
}
printMyName('John');


const multiply = number => number*2;
console.log(multiply(2));