console object method print code example Example: console.log printing object object require('util').inspect.defaultOptions.depth = null