2015-02-03 02:19:27 +01:00
|
|
|
//// [symbolProperty30.ts]
|
|
|
|
class C1 {
|
|
|
|
[Symbol.toStringTag]() {
|
|
|
|
return { x: "" };
|
|
|
|
}
|
2015-02-04 00:52:06 +01:00
|
|
|
[s: symbol]: () => { x: number };
|
2015-02-03 02:19:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
//// [symbolProperty30.js]
|
|
|
|
var C1 = (function () {
|
|
|
|
function C1() {
|
|
|
|
}
|
|
|
|
C1.prototype[Symbol.toStringTag] = function () {
|
|
|
|
return { x: "" };
|
|
|
|
};
|
|
|
|
return C1;
|
|
|
|
})();
|