var app = {
first_name: 'john',
last_name: 'doe',
full_name: this.first_name + ' ' + this.last_name
};
How to access properties within an object? I am getting undefined using this.property-name
as above code.
var app = {
first_name: 'john',
last_name: 'doe',
full_name: this.first_name + ' ' + this.last_name
};
How to access properties within an object? I am getting undefined using this.property-name
as above code.