Constructing method, why is bob.setAge = setAge necessary?



I don't get why the line
bob.setAge = setAge
is necessary...

I mean you already defire in the method that the function calls this.age and puts it to a value,

Why do you nead to insert the line
bob.setAge = setAge;
prior to be able to use
bob.Setage = 99?


Okay I think I get: you have to assign a property to the method in order to be able to call it..

But isn't that kind of against the whole point of being able to use the method for every object because you still have to define it every single time for another object?