TypeScript/tests/baselines/reference/computedPropertyNames14_ES6.js

22 lines
378 B
TypeScript
Raw Normal View History

//// [computedPropertyNames14_ES6.ts]
var b: boolean;
class C {
[b]() {}
static [true]() { }
[[]]() { }
static [{}]() { }
[undefined]() { }
static [null]() { }
}
//// [computedPropertyNames14_ES6.js]
var b;
2015-03-16 00:29:41 +01:00
class C {
[b]() { }
static [true]() { }
[[]]() { }
static [{}]() { }
[undefined]() { }
static [null]() { }
2015-03-16 00:29:41 +01:00
}