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.

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

//          ^^^^^^^^^^
//         calling object

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