diff options
author | Ben Gourley <bn@grly.me> | 2016-08-15 10:53:35 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-08-15 10:42:38 -0700 |
commit | 24e4488891b6189c52ea803efed5087d31651a5f (patch) | |
tree | 6a6fd00e52087f9a56a4eb158b9c980e40c68b71 /doc/api/querystring.md | |
parent | 26cd48fb9bc6890e8f432b488aa7234fd7ab7f0d (diff) | |
download | node-new-24e4488891b6189c52ea803efed5087d31651a5f.tar.gz |
doc: fix "hashOwnProperty" typo in querystring
querystring subsystem docs referred to `obj.hashOwnProperty()`
which is non-existent. Corrected to `obj.hasOwnProperty()`.
PR-URL: https://github.com/nodejs/node/pull/8107
Reviewed-By: targos - Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Diffstat (limited to 'doc/api/querystring.md')
-rw-r--r-- | doc/api/querystring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 1a3732445e..443bd4c003 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -58,7 +58,7 @@ For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into: *Note*: The object returned by the `querystring.parse()` method _does not_ prototypically extend from the JavaScript `Object`. This means that the -typical `Object` methods such as `obj.toString()`, `obj.hashOwnProperty()`, +typical `Object` methods such as `obj.toString()`, `obj.hasOwnProperty()`, and others are not defined and *will not work*. By default, percent-encoded characters within the query string will be assumed |