JavaScript: Class.method vs. Class.prototype.method JavaScript: Class.method vs. Class.prototype.method javascript javascript