arrow functions javascript constructor code example
Example 1: arrow function javascript
// Normal Function in JavaScript
function Welcome(){
console.log("Normal function");
}
// Arrow Function
const Welcome = () => {
console.log("Normal function");
}
Example 2: js arrow function
hello = () => {
return "Hi All";
}