can this keyword work in js arrow functions 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: arrow function javascript
// Traditional Function
function bob (a){
return a + 100;
}
// Arrow Function
let bob = a => a + 100;