Skip to content

Commit 8fb711e

Browse files
h7lincjihrig
authored andcommitted
doc: fix default value of opts.decodeURIComponent
In the documentation for querystring.parse, the documentation mentions that the default value for options.decodeURIComponent is the decodeURIComponent function, but it's actually the querystring.unescape function. PR-URL: nodejs/node-v0.x-archive#9259 Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
1 parent 1009130 commit 8fb711e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/querystring.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ characters.
4242
Options object may contain `maxKeys` property (equal to 1000 by default), it'll
4343
be used to limit processed keys. Set it to 0 to remove key count limitation.
4444

45-
Options object may contain `decodeURIComponent` property (`decodeURIComponent` by default),
45+
Options object may contain `decodeURIComponent` property (`querystring.unescape` by default),
4646
it can be used to decode `non-utf8` encoding string if necessary.
4747

4848
Example:

0 commit comments

Comments
 (0)