diff --git a/doc/api/process.md b/doc/api/process.md index 15e0ecedc3..89443daeda 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1136,9 +1136,7 @@ of the Node.js process measured in bytes. For example, the code: ```js -const util = require('util'); - -console.log(util.inspect(process.memoryUsage())); +console.log(process.memoryUsage()); ``` Will generate: