mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05: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")] });
|