Files
tsgo/testdata/baselines/reference/submodule/conformance/computedPropertyNames1_ES6.symbols
2025-02-26 14:53:49 -08:00

14 lines
487 B
Plaintext

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