Skip to content

Commit 06853a9

Browse files
authored
Merge pull request #1085 from K-Sato1995/patch-9
Fix a typo
2 parents 25d48a3 + fe2bfac commit 06853a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/01-class/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ What `class User {...}` construct really does is:
8989
- The function code is taken from the `constructor` method (assumed empty if we don't write such method).
9090
3. Stores all methods, such as `sayHi`, in `User.prototype`.
9191

92-
Afterwards, for new objects, when we call a method, it's taken from the prototype, just as described in the chapter <info:function-prototype>. So `new User` object has access to class methods.
92+
Afterwards, for new objects, when we call a method, it's taken from the prototype, just as described in the chapter <info:function-prototype>. So a `new User` object has access to class methods.
9393

9494
We can illustrate the result of `class User` declaration as:
9595

0 commit comments

Comments
 (0)