Pet { firstName:'Bon-Bon', lastName:'Jovi', gender:'female', age:3, birthday:'February 14', nextYear:4, fullName: [Function], pronoun: [Function], possessive: [Function], ordinalSuffix: [Function], animal:'dog', breed:'Border Collie', color:'black and white', good: [Function] }My dog, Bon-Bon, is the world's greatest Border Collie.Our black and white Border Collie turns 4 on February 14.She is/are such a good girl!
Explanation
New Properties
animal - is your pet a dog, a cat, fish, horse, etc?
breed - is your dog a boxer, your cat a siamese?
color - what color is/are your pets fur, scales, feathers, etc?
good() - a function that we'll use to output a noun based on the gender pronoun.
New Functions
description() - displays animal, firstName, and breed.
bday() - displays color, breed, as well as nextYear and birthday
praise() - displays pronoun and the result of good().