Can sb please tell me what's a calling onject?

as you read the title that’s my question and can you guys give an example too.
thanks

const someObject = {
  someProperty: "some value",
  someMethod() {
    return this.someProperty;
  }
}

console.log(someObject.someMethod())
//          ^^^^^^^^^^
//         calling object
3 Likes

can you explain this , a little too, please.

The calling object is the specific object instance that called the method. In this case there is only one instance of the object. Later you’ll learn about classes and factory functions, and this will start to make more sense.

1 Like