1
0
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:
ruanyf 2017-02-24 21:38:51 +08:00
commit f51f862dc2

View File

@ -1344,7 +1344,7 @@ class MyClass {
static myStaticProp = 42; static myStaticProp = 42;
constructor() { constructor() {
console.log(MyClass.myProp); // 42 console.log(MyClass.myStaticProp); // 42
} }
} }
``` ```