From 296af700dd7b8513ba1326f336f6235baa46944e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Philippe=20C=C3=B4t=C3=A9?= Date: Sun, 11 Feb 2018 13:59:09 -0500 Subject: [PATCH] Reversed sentence for better understanding --- 1-js/07-object-oriented-programming/09-class/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/07-object-oriented-programming/09-class/article.md b/1-js/07-object-oriented-programming/09-class/article.md index 44d7dcf1..71878ae3 100644 --- a/1-js/07-object-oriented-programming/09-class/article.md +++ b/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 The `class User {...}` here actually does two things: 1. Declares a variable `User` that references the function named `"constructor"`. -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`. Here's the code to dig into the class and see that: