In the normal function i can use this code
const person = {
name: 'yaman',
surname: 'katby',
getFullName: function() {
return `${this.name} ${this.surname}`
}
}
What about arrow function by the way the code below not work
const person = {
name: 'yaman',
surname: 'katby',
getFullName: () => `${name} ${surname}`
}