Assertion: prototype's function | /r/HasProperty | console.log('woof
Facets:
Source sentences:
text: LivingEntity.prototype.makeSound = function(){ console.log('meow'); } //dog uses its prototype because it doesn't have makeSound as an attribute dog.makeSound(); //meow dog.makeSound = function(){ console.log('woof'); } //now dog has makeSound as an attribute, it will use that instead of it's prototype dog.makeSound();