TypeScript/tests/baselines/reference/parserComputedPropertyName12.js
2014-11-25 16:08:58 -08:00

14 lines
225 B
JavaScript

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