From 4ab05984846b98d14b584953c7c45fcb6616f95a Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 13 Nov 2024 16:47:28 +0000 Subject: [PATCH] doc: fix history info for `URL.prototype.toJSON` PR-URL: https://github.com/nodejs/node/pull/55818 Fixes: https://github.com/nodejs/node/issues/55806 Refs: https://github.com/nodejs/node/pull/11236 Refs: https://github.com/nodejs/node/pull/17365 Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: Yagiz Nizipli --- 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