21 lines
332 B
TypeScript
21 lines
332 B
TypeScript
//// [computedPropertyNames5_ES6.ts]
|
|
var b: boolean;
|
|
var v = {
|
|
[b]: 0,
|
|
[true]: 1,
|
|
[[]]: 0,
|
|
[{}]: 0,
|
|
[undefined]: undefined,
|
|
[null]: null
|
|
}
|
|
|
|
//// [computedPropertyNames5_ES6.js]
|
|
var b;
|
|
var v = {
|
|
[b]: 0,
|
|
[true]: 1,
|
|
[[]]: 0,
|
|
[{}]: 0,
|
|
[undefined]: undefined,
|
|
[null]: null
|
|
};
|