How to Get values inside Arrow function
, which is Inside an Object.
I want to access other properties of that Object.
let obj = {
name:'Ashu',
age:123,
show: ()=>{
// I want to print Name and Age how to do that
// Is there any other way to do get Name and Age Property
// I don't want to replace the Arrow function
console.log(obj.name, obj.age);
}
}
obj.show()