diff --git a/doc/api/util.md b/doc/api/util.md index 3f9165f02110af..d3d26dbb946774 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -58,7 +58,7 @@ Marks that a method should not be used any more. ```js const util = require('util'); -exports.puts = util.deprecate(() => { +exports.puts = util.deprecate(function() { for (var i = 0, len = arguments.length; i < len; ++i) { process.stdout.write(arguments[i] + '\n'); }