You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/08-prototypes/01-prototype-inheritance/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Then, when `alert` tries to read property `rabbit.eats` `(**)`, it's not in `rab
68
68
69
69

70
70
71
-
Here we can say that "`animal` is the prototype of `rabbit`" or "`rabbit`prototypally inherits from `animal`".
71
+
Here we can say that "`animal` is the prototype of `rabbit`" or "`rabbit`prototypically inherits from `animal`".
72
72
73
73
So if `animal` has a lot of useful properties and methods, then they become automatically available in `rabbit`. Such properties are called "inherited".
0 commit comments