We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a0b3f4 commit 0deca2cCopy full SHA for 0deca2c
1-js/09-classes/01-class/article.md
@@ -51,7 +51,7 @@ user.sayHi();
51
52
When `new User("John")` is called:
53
1. A new object is created.
54
-2. The `constructor` runs with the given argument and assigns `this.name` to it.
+2. The `constructor` runs with the given argument and assigns it to `this.name`.
55
56
...Then we can call object methods, such as `user.sayHi()`.
57
0 commit comments