Excuse my terminology if it's off. I don't understand the difference between:
function Person() {};
Person.walk = function() {};
and...
function Person() {};
Person.prototype.walk = function() {};
It seems that the second way is the convention for constructors, but I don't understand the difference and why it is done that way. Thanks!