TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit5_ES5.ts

8 lines
155 B
TypeScript
Raw Normal View History

// @target: es5
// @declaration: true
var v = {
["" + ""]: 0,
["" + ""]() { },
get ["" + ""]() { return 0; },
set ["" + ""](x) { }
}