What is the result of the following expression?
const getName = person => person.name;
console.log(getName({ name: "John" }));
What is the result of the following expression?
const getName = person => person.name;
console.log(getName({ name: "John" }));