Permalink
Browse files

doc: fix "hashOwnProperty" typo in querystring

querystring subsystem docs referred to `obj.hashOwnProperty()`
which is non-existent. Corrected to `obj.hasOwnProperty()`.

PR-URL: #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>
  • Loading branch information...
bengourley authored and Trott committed Aug 15, 2016
1 parent 26cd48f commit 24e4488891b6189c52ea803efed5087d31651a5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 24e4488

Please sign in to comment.