const person = {
name: 'Ali',
getName: () => this.name
};
console.log(person.getName()); Post #4844
325
آم آموزش برنامه نویسی فرانت اند @codelines_ir · 6.51K subscribers const person = {
name: 'Ali',
getName: () => this.name
};
console.log(person.getName());