function ABC(){ ... }

ABC.prototype.newMethod = function(){} //to create a new method

Then how about ABC.prototype = function() { ... } ?

Can I know what is the difference?