Inside a method, this refers to the object:
let user = {
name: "Alice",
greet() {
console.log("Hello, I'm " + this.name)
}
}
user.greet() // "Hello, I'm Alice"
this lets methods access other properties on the same object. Its value depends on how the function is called, which you'll explore more in later sections.