40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames10_ES5.ts ===
|
|
var s: string;
|
|
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
|
|
|
|
var n: number;
|
|
>n : Symbol(n, Decl(computedPropertyNames10_ES5.ts, 1, 3))
|
|
|
|
var a: any;
|
|
>a : Symbol(a, Decl(computedPropertyNames10_ES5.ts, 2, 3))
|
|
|
|
var v = {
|
|
>v : Symbol(v, Decl(computedPropertyNames10_ES5.ts, 3, 3))
|
|
|
|
[s]() { },
|
|
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
|
|
|
|
[n]() { },
|
|
>n : Symbol(n, Decl(computedPropertyNames10_ES5.ts, 1, 3))
|
|
|
|
[s + s]() { },
|
|
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
|
|
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
|
|
|
|
[s + n]() { },
|
|
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
|
|
>n : Symbol(n, Decl(computedPropertyNames10_ES5.ts, 1, 3))
|
|
|
|
[+s]() { },
|
|
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
|
|
|
|
[""]() { },
|
|
[0]() { },
|
|
[a]() { },
|
|
>a : Symbol(a, Decl(computedPropertyNames10_ES5.ts, 2, 3))
|
|
|
|
[<any>true]() { },
|
|
[`hello bye`]() { },
|
|
[`hello ${a} bye`]() { }
|
|
>a : Symbol(a, Decl(computedPropertyNames10_ES5.ts, 2, 3))
|
|
}
|