Skip to content

Commit

Permalink
doc: fix history info for URL.prototype.toJSON
Browse files Browse the repository at this point in the history
PR-URL: #55818
Fixes: #55806
Refs: #11236
Refs: #17365
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
  • Loading branch information
aduh95 authored and ruyadorno committed Nov 27, 2024
1 parent 2743b7b commit 476075b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,12 @@ value returned is equivalent to that of [`url.href`][] and [`url.toJSON()`][].

#### `url.toJSON()`

<!-- YAML
added:
- v7.7.0
- v6.13.0
-->

* Returns: {string}

The `toJSON()` method on the `URL` object returns the serialized URL. The
Expand Down

0 comments on commit 476075b

Please sign in to comment.