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

14 lines
208 B
JavaScript

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