Types of Functions
suggest changeNamed functions
function multiply(a, b) {
return a * b;
}
Anonymous functions
let multiply = function(a, b) { return a * b; };
Lambda / arrow functions
let multiply = (a, b) => { return a * b; };
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents