TypeScript/tests/baselines/reference/parserComputedPropertyName12.js

13 lines
220 B
JavaScript
Raw Normal View History

2015-01-06 23:19:43 +01:00
//// [parserComputedPropertyName12.ts]
class C {
[e]() { }
}
//// [parserComputedPropertyName12.js]
var C = (function () {
function C() {
}
C.prototype[e] = function () { };
2015-01-06 23:19:43 +01:00
return C;
})();