Jsome icon indicating copy to clipboard operation
Jsome copied to clipboard

Did not display undefined properties in objects

Open rottmann opened this issue 4 years ago • 1 comments

const jsome = require('jsome')

const obj = {
  a: 1,
  b: "str",
  c: undefined,
  d: null
}

console.log( jsome.getColoredString(obj) )

Output is:

{
  a: 1,
  b: "str",
  d: null
}

rottmann avatar Oct 30 '20 14:10 rottmann