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/09-classes/05-extend-natives/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ Normally, when one class extends another, both static and non-static methods are
78
78
79
79
But built-in classes are an exception. They don't inherit statics from each other.
80
80
81
-
For example, both `Array` and `Date` inherit from `Object`, so their instances have methods from `Object.prototype`. But `Array.[[Prototype]]` does not reference `Object`, so there's no`Array.keys()`and`Date.keys()` static methods.
81
+
For example, both `Array` and `Date` inherit from `Object`, so their instances have methods from `Object.prototype`. But `Array.[[Prototype]]` does not reference `Object`, so there's no, for instance, `Array.keys()`(or`Date.keys()`) static method.
82
82
83
83
Here's the picture structure for `Date` and `Object`:
0 commit comments