diff --git a/doc/api/util.markdown b/doc/api/util.markdown index 8d6a41c6c6..8b34ba6658 100644 --- a/doc/api/util.markdown +++ b/doc/api/util.markdown @@ -114,7 +114,7 @@ Predefined color codes are: `white`, `grey`, `black`, `blue`, `cyan`, `green`, `magenta`, `red` and `yellow`. There are also `bold`, `italic`, `underline` and `inverse` codes. -### Custom `inpect()` function on Objects +### Custom `inspect()` function on Objects Objects also may define their own `inspect(depth)` function which `util.inspect()` will invoke and use the result of when inspecting the object: