From 791ebae600c441372046ad7b3ecf99daaa0d22ff Mon Sep 17 00:00:00 2001 From: Ben Gourley Date: Mon, 15 Aug 2016 10:53:35 +0100 Subject: [PATCH] doc: fix "hashOwnProperty" typo in querystring querystring subsystem docs referred to `obj.hashOwnProperty()` which is non-existent. Corrected to `obj.hasOwnProperty()`. --- doc/api/querystring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 1a3732445e27e5..443bd4c003501e 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