var Person = function(living, age, gender) {
this.living = living;
this.age = age;
this.gender = gender;
this.getGender = function() {return this.gender;};
};
// logs Object {living=true, age=33, gender="male", ...}
var codyB = new Person(true, 33, 'male');
Okay, now how can I create new property and value for the Person something like this:
var codyC = new Person(true, 33, 'male','children:true');
I mean to add new property for the Person.