Why should we declare setAge twice?


#1

var susan = {};
susan.age = 25;
susan.setAge = setAge;
susan.setAge(35);

Why should we write susan.setAge = setAge; after we've already written
susan.age = 25; ?

What does susan.setAge = setAge; do?


#2

@chipninja14015,

Have a look at an explanation

= http://discuss.codecademy.com/t/16-33-i-dont-understand/2973/2?u=leonhard_wettengmx_n