mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: fix inpect() -> inspect() typo
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user