Update article.md

Adjustments to line about class properties. Add "the", change "the" to "a".
This commit is contained in:
paroche 2019-09-27 23:04:31 -06:00 committed by GitHub
parent f44cba85ec
commit b0e33373b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,7 +320,7 @@ class User {
new User().sayHi(); new User().sayHi();
``` ```
The property `name` is not placed into `User.prototype`. Instead, it is created by `new` before calling constructor, it's the property of the object itself. The property `name` is not placed into `User.prototype`. Instead, it is created by `new` before calling the constructor, it's a property of the object itself.
## Summary ## Summary