this refers to the calling object but is lexically bound in arrow functions.
this
const obj = { name: "Alice", sayName() { console.log(this.name); } }; obj.sayName(); // "Alice"