mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Update util.markdown
Fix for https://github.com/joyent/node/issues/25559 (Typo in example of util.deprecate() documentation) Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/joyent/node/pull/25591
This commit is contained in:
1 parent
4952e2b4d2
commit
5ad05af380
1 file changed
+1
-1
@@ -261,7 +261,7 @@ through the `constructor.super_` property.
|
||||
|
||||
Marks that a method should not be used any more.
|
||||
|
||||
exports.puts = exports.deprecate(function() {
|
||||
exports.puts = util.deprecate(function() {
|
||||
for (var i = 0, len = arguments.length; i < len; ++i) {
|
||||
process.stdout.write(arguments[i] + '\n');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user