title: Can we assign a public method inside a object constructor ? (javascript)
body: <p>I am reading about prototypes in javascript, In a article <a href="http://phrogz.net/js/classes/OOPinJS.html" rel="nofollow">http://phrogz.net/js/classes/OOPinJS.html</a> I read that we can not assign public methods inside a object constructor in javascript ? How prototypal methods are different from static methods and what are the advantage of using them ?</p>