arrow function

JavaScript
multiplyfunc = (a, b) => { return a * b; }const functionName = () => {
	//Your function code
}hello = () => {
  return "Hello World!";
} const squareNum = num => num * num;/*this is an arrow function 
you can call it like an reqular function
and allow you to write shorter function syntaxes*/

hello = () => {
  return "Hello World!";
}

//for function that returns one static value you can do this

hello = () => "Hello World!";
Source

Also in JavaScript: