Skip to content

Commit db0407b

Browse files
authored
Merge pull request #1420 from paroche/patch-49
Update article.md
2 parents a7e2c43 + 24d5411 commit db0407b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/05-extend-natives/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Normally, when one class extends another, both static and non-static methods are
7878

7979
But built-in classes are an exception. They don't inherit statics from each other.
8080

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.
8282

8383
Here's the picture structure for `Date` and `Object`:
8484

0 commit comments

Comments
 (0)