everybody, I'm new in Javascript... I know how to incorporate a function into an Object using this format...
var xyz = {
yearOfBirth: 1963,
calculateAge: function() {
this.age = (new Date().getFullYear()) - this.yearOfBirth;
}
};
***But I need your guidance on this other format...
var abc = new Object();
Thanks!