38 lines
1 KiB
Plaintext
38 lines
1 KiB
Plaintext
=== tests/cases/compiler/trailingCommasES5.ts ===
|
|
|
|
var o1 = { a: 1, b: 2 };
|
|
>o1 : Symbol(o1, Decl(trailingCommasES5.ts, 1, 3))
|
|
>a : Symbol(a, Decl(trailingCommasES5.ts, 1, 10))
|
|
>b : Symbol(b, Decl(trailingCommasES5.ts, 1, 16))
|
|
|
|
var o2 = { a: 1, b: 2, };
|
|
>o2 : Symbol(o2, Decl(trailingCommasES5.ts, 2, 3))
|
|
>a : Symbol(a, Decl(trailingCommasES5.ts, 2, 10))
|
|
>b : Symbol(b, Decl(trailingCommasES5.ts, 2, 16))
|
|
|
|
var o3 = { a: 1, };
|
|
>o3 : Symbol(o3, Decl(trailingCommasES5.ts, 3, 3))
|
|
>a : Symbol(a, Decl(trailingCommasES5.ts, 3, 10))
|
|
|
|
var o4 = {};
|
|
>o4 : Symbol(o4, Decl(trailingCommasES5.ts, 4, 3))
|
|
|
|
var a1 = [1, 2];
|
|
>a1 : Symbol(a1, Decl(trailingCommasES5.ts, 6, 3))
|
|
|
|
var a2 = [1, 2, ];
|
|
>a2 : Symbol(a2, Decl(trailingCommasES5.ts, 7, 3))
|
|
|
|
var a3 = [1, ];
|
|
>a3 : Symbol(a3, Decl(trailingCommasES5.ts, 8, 3))
|
|
|
|
var a4 = [];
|
|
>a4 : Symbol(a4, Decl(trailingCommasES5.ts, 9, 3))
|
|
|
|
var a5 = [1, , ];
|
|
>a5 : Symbol(a5, Decl(trailingCommasES5.ts, 10, 3))
|
|
|
|
var a6 = [, , ];
|
|
>a6 : Symbol(a6, Decl(trailingCommasES5.ts, 11, 3))
|
|
|