From 0695e243de62f56a8cdb30542fd8421db4f99a97 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 878b7eebf2d105..c52b896da25217 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3073,9 +3073,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