Use a propriedade OBJ dentro de si mesma
const obj = {
key1: "it ",
key2: () => this.key1 + " works!";
}
alert(obj.key2())
Enthusiastic Echidna
const obj = {
key1: "it ",
key2: () => this.key1 + " works!";
}
alert(obj.key2())