mirror of
https://github.com/nodejs/node.git
synced 2025-04-29 14:25:18 +00:00
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>
This commit is contained in:
parent
26cd48fb9b
commit
24e4488891
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user