TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES5.ts
2015-02-03 17:43:31 -08:00

10 lines
213 B
TypeScript

// @target: es5
var id;
class C {
[0 + 1]() { }
static [() => { }]() { }
get [delete id]() { }
set [[0, 1]](v) { }
static get [<String>""]() { }
static set [id.toString()](v) { }
}