Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>2016-08-20 05:53:28 +0300
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>2016-08-26 16:23:39 +0300
commitb3e7ac2605c18c041293cd3ab892c963e1145176 (patch)
treef3ca25c4d9ed95bccae4cbb3161ca8f487ded1fc /doc/api/util.md
parent02ed21aa5c74313f200fa34c081757fd6fee593e (diff)
util: improve function signature of util._extend
The function signature of `util._extend` is not intuitive and the documentation doesn't specify the necessary second parameter. This patch changes the parameter names in the code and the function params in doc. PR-URL: https://github.com/nodejs/node/pull/8187 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
Diffstat (limited to 'doc/api/util.md')
-rw-r--r--doc/api/util.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/util.md b/doc/api/util.md
index 6b6514debc8..ce8812adbf3 100644
--- a/doc/api/util.md
+++ b/doc/api/util.md
@@ -812,7 +812,7 @@ deprecated: v0.11.3
Deprecated predecessor of `console.log`.
-### util.\_extend(obj)
+### util.\_extend(target, source)
<!-- YAML
added: v0.7.5
deprecated: v6.0.0