Update article.md
Change spelling of "labelled" to "labeled". "Labelled" is British spelling, "labeled" is American. I hadn't noticed British spelling being used in general so thought it should probably be the American version.
This commit is contained in:
parent
f44cba85ec
commit
5655efa2a1
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
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:
|
The difference is:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue