Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nested array of object shows as object in console log output js

const util = require('util')

console.log(util.inspect(myObject, {showHidden: false, depth: null}))

// alternative shortcut
console.log(util.inspect(myObject, false, null, true /* enable colors */))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nested #array #object #shows #object #console #log #output #js
ADD COMMENT
Topic
Name
9+3 =