age() { let today = new Date(); return today.getFullYear() - dob.getFullYear(); } } class Person extends Mammal { constructor(firstName, lastName, dob) { super(dob); this.firstName = firstName; this.lastName = lastName; } get fullName() { return this.firstName + ' ' + this.lastName; } greet() { console.log("Hello, my names is " + this.fullName + ", I am " + this.age + " years old"). } } var me = new Person("Jason", "Perry", new Date(1980, 11, 12)); me.greet(); // --> "Hello, my name is Jason Perry, and I am 34 years old"