TypeScript/tests/baselines/reference/parserComputedPropertyName12.js

14 lines
225 B
JavaScript
Raw Normal View History

2014-11-18 01:36:30 +01:00
//// [parserComputedPropertyName12.ts]
class C {
[e]() { }
}
//// [parserComputedPropertyName12.js]
var C = (function () {
function C() {
}
C.prototype[e] = function () {
};
return C;
})();