2015-01-30 02:15:57 +01:00
|
|
|
//// [symbolProperty1.ts]
|
2015-02-04 00:52:06 +01:00
|
|
|
var s: symbol;
|
2015-01-30 02:15:57 +01:00
|
|
|
var x = {
|
|
|
|
[s]: 0,
|
|
|
|
[s]() { },
|
|
|
|
get [s]() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [symbolProperty1.js]
|
|
|
|
var s;
|
|
|
|
var x = {
|
|
|
|
[s]: 0,
|
2015-02-07 06:38:53 +01:00
|
|
|
[s]() { },
|
2015-01-30 02:15:57 +01:00
|
|
|
get [s]() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
};
|