Skip to content

Commit

Permalink
[Squash] reword a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell authored Dec 21, 2017
1 parent db48bb3 commit 6d3c6b8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ without any formatting.
util.format('%% %s'); // '%% %s'
```

It is immportant to note that `util.format()` is a synchronous method that is
intended strictly as a debugging tool that has not been performance optimized.
Using `util.format()` in production code is not recommended because of the
potential performance bottlenecks it can introduce.
Please note that `util.format()` is a synchronous method that is mainly
intended as a debugging tool. Some input values can have a significant
performance overhead that can block the event loop. Use this function
with care and never in a hot code path.

## util.inherits(constructor, superConstructor)
<!-- YAML
Expand Down Expand Up @@ -401,10 +401,10 @@ Values may supply their own custom `inspect(depth, opts)` functions, when
called these receive the current `depth` in the recursive inspection, as well as
the options object passed to `util.inspect()`.

It is immportant to note that `util.inspect()` is a synchronous method that is
intended strictly as a debugging tool that has not been performance optimized.
Using `util.inspect()` in production code is not recommended because of the
potential performance bottlenecks it can introduce.
Please note that `util.inspect()` is a synchronous method that is mainly
intended as a debugging tool. Some input values can have a significant
performance overhead that can block the event loop. Use this function
with care and never in a hot code path.

### Customizing `util.inspect` colors

Expand Down

0 comments on commit 6d3c6b8

Please sign in to comment.