2014-10-25 09:09:55 +11:00

9 lines
93 B
JavaScript

class Test {
get bar() {
throw new Error("wow");
}
}
var test = new Test;
test.bar;