Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf5c5f3

Browse filesBrowse files
bengourleyevanlucas
authored andcommitted
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>
1 parent 08e2b04 commit bf5c5f3
Copy full SHA for bf5c5f3

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/querystring.md‎

Copy file name to clipboardExpand all lines: doc/api/querystring.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.