Course · Section 8: How JavaScript Works Behind the Scenes · Lecture 100: The this Keyword
Implement `personGreeting(name)` by building an object with a `greet()` method that uses `this.name`, returning `Hi ` plus the name.
+ 1 hidden test run on Submit.
Calling greet on the object sets this to that object, so this.name is the person's name.
Run your code to see results.