mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 11:12:21 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
f51f862dc2
@ -1344,7 +1344,7 @@ class MyClass {
|
|||||||
static myStaticProp = 42;
|
static myStaticProp = 42;
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
console.log(MyClass.myProp); // 42
|
console.log(MyClass.myStaticProp); // 42
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user