Easy
Understanding 'this' Binding in Arrow Functions with Object Methods in JavaScript
What will be the output of the following code, and why?
1const obj = {2 name: "Emerge",3 greet: () => {4 console.log(`Hello, ${this.name}!`);5 },6};78obj.greet();