Используйте свойство OBJ внутри себя
const obj = {
key1: "it ",
key2: () => this.key1 + " works!";
}
alert(obj.key2())
Enthusiastic Echidna
const obj = {
key1: "it ",
key2: () => this.key1 + " works!";
}
alert(obj.key2())