Arrow Functions in JavaScript: A Simpler Way to Write Functions
Arrow function Introduced in ES6. They provide concise syntax to write a standard function.
Standard Function :
function add (a , b){
return a + b;
}
Arrow Function :
const add = (a, b) => a + b;
jsoperators.hashnode.dev4 min read