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