|
|
|
@@ -5,27 +5,27 @@ var value = null;
|
|
|
|
|
|
|
|
|
|
JSON.stringify(value, undefined, 2);
|
|
|
|
|
>JSON.stringify(value, undefined, 2) : string
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON : JSON
|
|
|
|
|
>stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>value : null
|
|
|
|
|
>undefined : undefined
|
|
|
|
|
>2 : 2
|
|
|
|
|
|
|
|
|
|
JSON.stringify(value, null, 2);
|
|
|
|
|
>JSON.stringify(value, null, 2) : string
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON : JSON
|
|
|
|
|
>stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>value : null
|
|
|
|
|
>null : null
|
|
|
|
|
>2 : 2
|
|
|
|
|
|
|
|
|
|
JSON.stringify(value, ["a", 1], 2);
|
|
|
|
|
>JSON.stringify(value, ["a", 1], 2) : string
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON : JSON
|
|
|
|
|
>stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>value : null
|
|
|
|
|
>["a", 1] : (string | number)[]
|
|
|
|
|
>"a" : "a"
|
|
|
|
@@ -34,20 +34,20 @@ JSON.stringify(value, ["a", 1], 2);
|
|
|
|
|
|
|
|
|
|
JSON.stringify(value, (k) => undefined, 2);
|
|
|
|
|
>JSON.stringify(value, (k) => undefined, 2) : string
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON : JSON
|
|
|
|
|
>stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>value : null
|
|
|
|
|
>(k) => undefined : (k: string) => undefined
|
|
|
|
|
>(k) => undefined : (this: any, k: string) => undefined
|
|
|
|
|
>k : string
|
|
|
|
|
>undefined : undefined
|
|
|
|
|
>2 : 2
|
|
|
|
|
|
|
|
|
|
JSON.stringify(value, undefined, 2);
|
|
|
|
|
>JSON.stringify(value, undefined, 2) : string
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>JSON : JSON
|
|
|
|
|
>stringify : { (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
|
|
|
|
|
>value : null
|
|
|
|
|
>undefined : undefined
|
|
|
|
|
>2 : 2
|
|
|
|
|