diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-14 23:02:30 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-15 11:36:07 +0300 |
commit | ff4ca647d4fee54c7ccf969d721d5c5a8c7e6fd7 (patch) | |
tree | 3843d44598e695dd8d4f452e3867cbf377b02666 /doc/api/url.md | |
parent | b003c86bf45d0689d7e77fce0489a6de888b0782 (diff) |
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 <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/url.md')
-rw-r--r-- | doc/api/url.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index bbb9f7ab5a8..e1e6c0133ee 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/ |