From c2996ce69c3362d56dcd1e2469e04ee7516dfd3b Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 25 Aug 2020 22:37:38 -0700 Subject: [PATCH] doc: make minor improvements to query string sentence in http2.md PR-URL: https://github.com/nodejs/node/pull/34929 Reviewed-By: Denys Otrishko Reviewed-By: Ricky Zhou <0x19951125@gmail.com> --- doc/api/http2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index 5adf84e27f8b53..3a4f82bcc33182 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3163,9 +3163,9 @@ Url { href: '/status?name=ryan' } ``` -To extract the parameters from the query string, the -`require('querystring').parse` function can be used, or -`true` can be passed as the second argument to `require('url').parse`. +To obtain the parameters from the query string, use the +`require('querystring').parse()` function or pass +`true` as the second argument to `require('url').parse()`. ```console $ node