Update article.md
Change "Although" to "Still". Reads a bit better.
This commit is contained in:
parent
ec99b2c3bd
commit
30640e1a2e
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ user.sayHi();
|
|||
|
||||
The result of this definition is about the same. So, there are indeed reasons why `class` can be considered a syntax sugar to define a constructor together with its prototype methods.
|
||||
|
||||
Although, there are important differences.
|
||||
Still, there are important differences.
|
||||
|
||||
1. First, a function created by `class` is labelled by a special internal property `[[FunctionKind]]:"classConstructor"`. So it's not entirely the same as creating it manually.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue