2015-02-04 02:43:31 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit1_ES5.ts]
|
2015-01-21 03:29:04 +01:00
|
|
|
class C {
|
|
|
|
["" + ""]() { }
|
|
|
|
get ["" + ""]() { return 0; }
|
|
|
|
set ["" + ""](x) { }
|
|
|
|
}
|
|
|
|
|
2015-02-04 02:43:31 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit1_ES5.js]
|
2015-01-21 03:29:04 +01:00
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
2015-03-26 21:46:35 +01:00
|
|
|
C.prototype["" + ""] = function () { };
|
2015-01-21 03:29:04 +01:00
|
|
|
Object.defineProperty(C.prototype, "" + "", {
|
2015-03-26 21:46:35 +01:00
|
|
|
get: function () { return 0; },
|
2015-01-21 03:29:04 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
Object.defineProperty(C.prototype, "" + "", {
|
2015-03-26 21:46:35 +01:00
|
|
|
set: function (x) { },
|
2015-01-21 03:29:04 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
return C;
|
|
|
|
})();
|
|
|
|
|
|
|
|
|
2015-02-05 00:33:53 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit1_ES5.d.ts]
|
2015-01-21 03:29:04 +01:00
|
|
|
declare class C {
|
|
|
|
}
|