From 098081501195818dcd0706f00b913fb9c506dd33 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 11 Nov 2024 17:35:55 +0100 Subject: [PATCH] doc: fix history info for `URL.prototype.toJSON` --- doc/api/url.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/api/url.md b/doc/api/url.md index 60e9a02bd6c61a..56fb57aa68858a 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -600,6 +600,12 @@ value returned is equivalent to that of [`url.href`][] and [`url.toJSON()`][]. #### `url.toJSON()` + + * Returns: {string} The `toJSON()` method on the `URL` object returns the serialized URL. The