Skip to content

Commit 3cdec02

Browse files
authored
Merge pull request #1414 from paroche/patch-47
Update article.md
2 parents cd3774b + c0d8fdb commit 3cdec02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/08-prototypes/04-prototype-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Why so?
7171

7272
That's for historical reasons.
7373

74-
- The `"prototype"` property of a constructor function works since very ancient times.
74+
- The `"prototype"` property of a constructor function has worked since very ancient times.
7575
- Later, in the year 2012, `Object.create` appeared in the standard. It gave the ability to create objects with a given prototype, but did not provide the ability to get/set it. So browsers implemented the non-standard `__proto__` accessor that allowed the user to get/set a prototype at any time.
7676
- Later, in the year 2015, `Object.setPrototypeOf` and `Object.getPrototypeOf` were added to the standard, to perform the same functionality as `__proto__`. As `__proto__` was de-facto implemented everywhere, it was kind-of deprecated and made its way to the Annex B of the standard, that is: optional for non-browser environments.
7777

0 commit comments

Comments
 (0)