We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be007e7 commit 296af70Copy full SHA for 296af70
1 file changed
1-js/07-object-oriented-programming/09-class/article.md
@@ -48,7 +48,7 @@ So, what exactly does `class` do? We may think that it defines a new language-le
48
The `class User {...}` here actually does two things:
49
50
1. Declares a variable `User` that references the function named `"constructor"`.
51
-2. Puts into `User.prototype` methods listed in the definition. Here it includes `sayHi` and the `constructor`.
+2. Puts methods listed in the definition into `User.prototype`. Here, it includes `sayHi` and the `constructor`.
52
53
Here's the code to dig into the class and see that:
54
0 commit comments