2014-10-10 09:15:24 +11:00

9 lines
93 B
JavaScript

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