Skip to content

Commit 79876f0

Browse files
aduh95marco-ippolito
authored andcommitted
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 c14776f commit 79876f0

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
@@ -598,6 +598,12 @@ value returned is equivalent to that of [`url.href`][] and [`url.toJSON()`][].
598598

599599
#### `url.toJSON()`
600600

601+
<!-- YAML
602+
added:
603+
- v7.7.0
604+
- v6.13.0
605+
-->
606+
601607
* Returns: {string}
602608

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

0 commit comments

Comments
 (0)