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

15 lines
225 B
JavaScript

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