I result I expected was Adithye. I knew other methods, but i would like to know why this method wont work.
var Person = {
name:'Adithye',
getName:function(){
function xyz(){
console.log(this.name);
}
xyz();
}
}
Person.getName();