Merge pull request #1391 from paroche/patch-47

Update article.md
This commit is contained in:
Ilya Kantor 2019-09-29 13:42:12 +03:00 committed by GitHub
commit d47254d53f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -261,7 +261,7 @@ The short answer is: constructors in inheriting classes must call `super(...)`,
Of course, there's an explanation. Let's get into details, so you'll really understand what's going on.
In JavaScript, there's a distinction between a "constructor function of an inheriting class" and all others. In an inheriting class, the corresponding constructor function is labelled with a special internal property `[[ConstructorKind]]:"derived"`.
In JavaScript, there's a distinction between a "constructor function of an inheriting class" and all others. In an inheriting class, the corresponding constructor function is labeled with a special internal property `[[ConstructorKind]]:"derived"`.
The difference is: