This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
util.inspect()
should take an "options" object
#4085
Labels
It takes 4 arguments, pending 5 in #2717. It should take 2, the object itself and optionally an "options" argument for our sanity:
showHidden
- defaultfalse
- If true, then print the object's non-enumerable properties as welldepth
- default 2 - The number of times to recurse while formatting the object. Ifnull
is passed then it will recurse indefinitely.colors
- defaultfalse
- If true then the output will be styled with ANSI escape codes.We can probably do this in a backwards compatible way.
The text was updated successfully, but these errors were encountered: