From 3288bc953230ba94e2e8bb61c903bbcf60dd810c Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Tue, 12 Mar 2013 15:58:27 -0700 Subject: [PATCH] doc: fix inpect() -> inspect() typo --- doc/api/util.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: