From ff4ca647d4fee54c7ccf969d721d5c5a8c7e6fd7 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sat, 14 Apr 2018 23:02:30 +0300 Subject: doc: unify format of iterables Also, make signatures easier for copy-paste testing. PR-URL: https://github.com/nodejs/node/pull/20036 Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Luigi Pinca --- doc/api/url.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/api/url.md') diff --git a/doc/api/url.md b/doc/api/url.md index bbb9f7ab5a..e1e6c0133e 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -736,7 +736,7 @@ percent-encoded where necessary. Returns an ES6 Iterator over the values of each name-value pair. -#### urlSearchParams\[@@iterator\]() +#### urlSearchParams\[Symbol.iterator\]() * Returns: {Iterator} @@ -1174,7 +1174,7 @@ console.log(myURL.origin); [`url.toJSON()`]: #url_url_tojson [`url.toString()`]: #url_url_tostring [`urlSearchParams.entries()`]: #url_urlsearchparams_entries -[`urlSearchParams@@iterator()`]: #url_urlsearchparams_iterator +[`urlSearchParams@@iterator()`]: #url_urlsearchparams_symbol_iterator [ICU]: intl.html#intl_options_for_building_node_js [Punycode]: https://tools.ietf.org/html/rfc5891#section-4.4 [WHATWG URL Standard]: https://url.spec.whatwg.org/ -- cgit v1.2.3