TypeScript/tests/baselines/reference/parserComputedPropertyName38.js
2014-11-26 20:10:49 -08:00

14 lines
236 B
JavaScript

//// [parserComputedPropertyName38.ts]
class C {
[public]() { }
}
//// [parserComputedPropertyName38.js]
var C = (function () {
function C() {
}
C.prototype[public] = function () {
};
return C;
})();