Skip to content

Commit 1942133

Browse files
committed
fixed a typo
1 parent b37db70 commit 1942133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topics/about_prototypal_inheritance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $(document).ready(function(){
99
var Mammal = function(name) {
1010
this.name = name;
1111
}
12-
// things that don't need to be set in the constructor should beadded to the constructor's prototype property.
12+
// things that don't need to be set in the constructor should be added to the constructor's prototype property.
1313
Mammal.prototype = {
1414
sayHi: function() {
1515
return "Hello, my name is " + this.name;

0 commit comments

Comments
 (0)