Skip to content

Commit 791ebae

Browse files
committed
doc: fix "hashOwnProperty" typo in querystring
querystring subsystem docs referred to `obj.hashOwnProperty()` which is non-existent. Corrected to `obj.hasOwnProperty()`.
1 parent cb2e83e commit 791ebae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/querystring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into:
5858

5959
*Note*: The object returned by the `querystring.parse()` method _does not_
6060
prototypically extend from the JavaScript `Object`. This means that the
61-
typical `Object` methods such as `obj.toString()`, `obj.hashOwnProperty()`,
61+
typical `Object` methods such as `obj.toString()`, `obj.hasOwnProperty()`,
6262
and others are not defined and *will not work*.
6363

6464
By default, percent-encoded characters within the query string will be assumed

0 commit comments

Comments
 (0)