17, so you need susan.setage = setage;?


var setAge = function (newAge) {
this.age = newAge;
var bob = new Object();
bob.age = 30;
bob.setAge = setAge;
var susan = new Object();
susan.age = 25;

^ i just found it weird that this will "not be a function" until susan.setAge = setAge; is added


Hi first you should put susan.setAge = setAge and then you should set Susan to 35 with



I was thinking along similar lines. If we have already defined setAge function and have applied it to an age property that can be contained in any of our objects, why the need to create the additional property of susan.setAge = setAge?