const x = {a:"aaaaa", b: function(){return this.a}, c: function(){this.a}}; console.log(x.b()); /* const x = {a:"aaaaa", b: this.a, c: this.a}; console.log(x.b); will return undefined */