Skip to content

Commit 296af70

Browse files
authored
Reversed sentence for better understanding
1 parent be007e7 commit 296af70

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-oriented-programming/09-class

1 file changed

+1
-1
lines changed

1-js/07-object-oriented-programming/09-class/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ So, what exactly does `class` do? We may think that it defines a new language-le
4848
The `class User {...}` here actually does two things:
4949

5050
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`.
51+
2. Puts methods listed in the definition into `User.prototype`. Here, it includes `sayHi` and the `constructor`.
5252

5353
Here's the code to dig into the class and see that:
5454

0 commit comments

Comments
 (0)