8 lines
297 B
Text
8 lines
297 B
Text
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames1_ES6.ts ===
|
|
var v = {
|
|
>v : Symbol(v, Decl(computedPropertyNames1_ES6.ts, 0, 3))
|
|
|
|
get [0 + 1]() { return 0 },
|
|
set [0 + 1](v: string) { } //No error
|
|
>v : Symbol(v, Decl(computedPropertyNames1_ES6.ts, 2, 16))
|
|
}
|