TypeScript/tests/baselines/reference/staticGetter2.js
2014-07-12 17:30:19 -07:00

20 lines
312 B
JavaScript

//// [staticGetter2.ts]
// once caused stack overflow
class C {
static x() {
var r = this;
return this;
}
}
//// [staticGetter2.js]
var C = (function () {
function C() {
}
C.x = function () {
var r = this;
return this;
};
return C;
})();