Skip to content

Commit be5a500

Browse files
authored
doc: fix history info for URL.prototype.toJSON
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]>
1 parent b52a49b commit be5a500

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/url.md

+6
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,12 @@ value returned is equivalent to that of [`url.href`][] and [`url.toJSON()`][].
600600

601601
#### `url.toJSON()`
602602

603+
<!-- YAML
604+
added:
605+
- v7.7.0
606+
- v6.13.0
607+
-->
608+
603609
* Returns: {string}
604610

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

0 commit comments

Comments
 (0)