Arrow / Lambda(C++) / Closure(Rust) / AnonymousFunction

Regular Function Arrow Function
Syntax

// Uses name function
function multiply(x, y) {
  return x * y;
}
          

// const function-name = (argument1, argument2 ..) => Function-body;
const multiply = (x, y) => x * y;

OR

const multiply = (x, y) => {return x * y};

// You don't need the function keyword, the return keyword, and the curly brackets