mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
b2109a12aa
This commit updates the custom inspect function for URL objects to pass the inspect options through so that the context is propagated and the resulting indentation is correct. Fixes: https://github.com/denoland/deno/issues/14171
3 lines
172 B
JavaScript
3 lines
172 B
JavaScript
console.log([new URL("https://example.com/path")]);
|
|
console.log({ url: new URL("https://example.com/path") });
|
|
console.log({ url: [new URL("https://example.com/path")] });
|