Question 4
Consider the following JavaScript code snippet
var name = 'Taylor'
const person = { name: 'Jeremy', talk() { return () => `${this.name} says Hello!` }}
talkReturn = person.talk()console.log(talkReturn())What will be the output of the code?
undefined says Hello!
Jeremy says Hello!
Taylor says Hello!
ReferenceError