Skip to content

Instantly share code, notes, and snippets.

@eddex
Last active April 24, 2017 12:28
Show Gist options
  • Select an option

  • Save eddex/1f0cbbe2b4da1552fc5367237678fee5 to your computer and use it in GitHub Desktop.

Select an option

Save eddex/1f0cbbe2b4da1552fc5367237678fee5 to your computer and use it in GitHub Desktop.

Revisions

  1. eddex renamed this gist Apr 24, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. eddex renamed this gist Apr 24, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. eddex created this gist Apr 24, 2017.
    6 changes: 6 additions & 0 deletions js_object_inspect
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    const util = require('util')

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

    // alternative shortcut
    console.log(util.inspect(myObject, false, null))