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

15 lines
229 B
JavaScript

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