Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0deca2c

Browse files
typo
wrong order of words
1 parent 3a0b3f4 commit 0deca2c

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
@@ -51,7 +51,7 @@ user.sayHi();
5151

5252
When `new User("John")` is called:
5353
1. A new object is created.
54-
2. The `constructor` runs with the given argument and assigns `this.name` to it.
54+
2. The `constructor` runs with the given argument and assigns it to `this.name`.
5555

5656
...Then we can call object methods, such as `user.sayHi()`.
5757

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /