Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ad70374

Browse files
authored
Merge pull request #2798 from HiddenOgre28/patch-1
Fix sentence in article.md
2 parents affee18 + 6fe40fc commit ad70374

File tree

1 file changed

+1
-1
lines changed
  • 1-js/08-prototypes/01-prototype-inheritance

1 file changed

+1
-1
lines changed

‎1-js/08-prototypes/01-prototype-inheritance/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ alert( rabbit.eats ); // true (**)
5454
alert( rabbit.jumps ); // true
5555
```
5656

57-
Here the line `(*)` sets `animal` to be a prototype of `rabbit`.
57+
Here the line `(*)` sets `animal` to be the prototype of `rabbit`.
5858

5959
Then, when `alert` tries to read property `rabbit.eats` `(**)`, it's not in `rabbit`, so JavaScript follows the `[[Prototype]]` reference and finds it in `animal` (look from the bottom up):
6060

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /