Skip to content

Commit d7482eb

Browse files
authored
Merge pull request #113 from nicoffee/patch-1
Fix typo
2 parents 9b39291 + ff1371f commit d7482eb

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-oriented-programming/08-class-patterns

1 file changed

+1
-1
lines changed

1-js/07-object-oriented-programming/08-class-patterns/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Right now they are fully independent.
182182

183183
But we'd want `Rabbit` to extend `Animal`. In other words, rabbits should be based on animals, have access to methods of `Animal` and extend them with its own methods.
184184

185-
What does it mean in the language on prototypes?
185+
What does it mean in the language of prototypes?
186186

187187
Right now methods for `rabbit` objects are in `Rabbit.prototype`. We'd like `rabbit` to use `Animal.prototype` as a "fallback", if the method is not found in `Rabbit.prototype`.
188188

0 commit comments

Comments
 (0)