Skip to content

Commit ff1371f

Browse files
authored
Fix typo
1 parent 9b39291 commit ff1371f

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)