It should have referred to parent as it is not dependent on calling //context and takes lexical scope (I am taking greeting();
it is taking window).
Below is the example
var Person = {
name: "Tim",
age: 28,
greeting:()=>{
console.log("Hello " + this.name + ". Wow, you are " + this.age + " years old.");
}
}
Person.greeting()
var greeting = Person.greeting;
greeting();
<!DOCTYPE html>
<html>
<>
<h1>Hello World!</h1>