8 lines
No EOL
238 B
TypeScript
8 lines
No EOL
238 B
TypeScript
// @strictNullChecks: true
|
|
|
|
var value = null;
|
|
JSON.stringify(value, undefined, 2);
|
|
JSON.stringify(value, null, 2);
|
|
JSON.stringify(value, ["a", 1], 2);
|
|
JSON.stringify(value, (k) => undefined, 2);
|
|
JSON.stringify(value, undefined, 2); |