7 ms·
There is no zelda.prototype. It should have been: Game.prototype.heartIt = function() { console.log( "I heart " + this.title ); }; See: http://jsfid
by jmaicher 14y ago
There is no zelda.prototype. It should have been:
Game.prototype.heartIt = function() {
console.log( "I heart " + this.title );
};
See: http://jsfiddle.net/a9asJ/1/ http://jsfiddle.net/a9asJ/1/
- mdgrech23 14y agoThank you, corrected!