We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37db70 commit 1942133Copy full SHA for 1942133
topics/about_prototypal_inheritance.js
@@ -9,7 +9,7 @@ $(document).ready(function(){
9
var Mammal = function(name) {
10
this.name = name;
11
}
12
- // things that don't need to be set in the constructor should beadded to the constructor's prototype property.
+ // things that don't need to be set in the constructor should be added to the constructor's prototype property.
13
Mammal.prototype = {
14
sayHi: function() {
15
return "Hello, my name is " + this.name;
0 commit comments