using arrow functions in javascript code example
Example 1: js arrow function
hello = () => {
return "Hi All";
}
Example 2: arrow function javascript
// Traditional Function
function (param) {
var a = param * 3;
return a;
}
//Arrow Function
(a, b) => {
let c = (a * b) + 3;
return c;
}