TypeScript/tests/baselines/reference/parserClassDeclaration21.js
2015-02-06 18:45:09 -08:00

14 lines
220 B
JavaScript

//// [parserClassDeclaration21.ts]
class C {
0();
1() { }
}
//// [parserClassDeclaration21.js]
var C = (function () {
function C() {
}
C.prototype[1] = function () { };
return C;
})();