2015-02-04 02:43:31 +01:00
|
|
|
//// [computedPropertyNames5_ES5.ts]
|
|
|
|
var b: boolean;
|
|
|
|
var v = {
|
|
|
|
[b]: 0,
|
|
|
|
[true]: 1,
|
|
|
|
[[]]: 0,
|
|
|
|
[{}]: 0,
|
|
|
|
[undefined]: undefined,
|
|
|
|
[null]: null
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [computedPropertyNames5_ES5.js]
|
|
|
|
var b;
|
2015-02-21 06:53:44 +01:00
|
|
|
var v = (_a = {}, _a[b] =
|
|
|
|
0, _a[true] =
|
|
|
|
1, _a[[]] =
|
|
|
|
0, _a[{}] =
|
|
|
|
0, _a[undefined] =
|
|
|
|
undefined, _a[null] =
|
|
|
|
null,
|
|
|
|
_a);
|
2015-02-05 03:35:04 +01:00
|
|
|
var _a;
|