16 - What is the point of bob.setAge = setAge?


Is there a reason for coding this? In exercise 18 it is not necessary and works just fine. Is it just a learning tool and not necessary? I would think it is not necessary since the presence of "this" in the method would take care of the referencing.


go check http://discuss.codecademy.com/t/objects-and-methods-13-16/6950
to see my explanation on that.


Because it defines "var setAge = function(){}" instead of "var bob.setAge = function(){}" in the beginning. Bob doesn't know anything about setAge before we use "bob.setAge = setAge;"