forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomma-sef-operand.types
More file actions
20 lines (18 loc) · 980 Bytes
/
comma-sef-operand.types
File metadata and controls
20 lines (18 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
=== tests/cases/compiler/comma-sef-operand.ts ===
declare const obj: any;
>obj : any
console.log(`${JSON.stringify(obj), undefined, 2}`);
>console.log(`${JSON.stringify(obj), undefined, 2}`) : void
>console.log : (message?: any, ...optionalParams: any[]) => void
>console : Console
>log : (message?: any, ...optionalParams: any[]) => void
>`${JSON.stringify(obj), undefined, 2}` : string
>JSON.stringify(obj), undefined, 2 : 2
>JSON.stringify(obj), undefined : undefined
>JSON.stringify(obj) : string
>JSON.stringify : { (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string; (value: any, replacer?: (string | number)[], space?: string | number): string; }
>JSON : JSON
>stringify : { (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string; (value: any, replacer?: (string | number)[], space?: string | number): string; }
>obj : any
>undefined : undefined
>2 : 2