From 24e4488891b6189c52ea803efed5087d31651a5f 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 1a3732445e..443bd4c003 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