arrow function in javascript w3schools

JavaScript
function add(a, b) {
  return a + b;
}

var add = (a, b) => {
  return a + b;
}

var add = (a, b) => a + b;
Source

Also in JavaScript: