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

7 lines
155 B
TypeScript

// @target: es5
// @declaration: true
class C {
static ["" + ""]() { }
static get ["" + ""]() { return 0; }
static set ["" + ""](x) { }
}