From bf5c5f3ce03d6dbd46c1c61ceab7df7784882b5a 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Prince John Wesley Reviewed-By: Brian White Reviewed-By: Minwoo Jung --- 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