Last active
March 2, 2016 19:06
-
-
Save sylistine/aaa62e22a3797406671e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass { | |
str = "test string"; // not an error in babel + core-js | |
static x = 0; // not an error in babel + core-js | |
constructor() { | |
this.str = "test string"; | |
this.x = 0; | |
console.log(this.str); | |
console.log(this.x); | |
} | |
} | |
// obviously outside of class scope. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TOLD YOU SO.