Created
September 20, 2016 21:05
-
-
Save DmitrySoshnikov/9387231f04d6e75bec2cf8da5a7e3e21 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Foo { | |
get x() {} | |
set x(v) {} | |
} | |
class Bar extends Foo { | |
x = 42; | |
} | |
console.log(new Bar().x); // undefined, should be 42 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment