Example

const obj = {
    foo() {
    },
    bar() {
        this.foo();
    },
}