jsdom / cssstyle

A Node.js implementation of the CSS Object Model CSSStyleDeclaration interface
MIT License
109 stars 70 forks source link

hide internal props #120

Open milahu opened 4 years ago

milahu commented 4 years ago

old:

> JSON.stringify(decl, 0, 2)
{
  _values: { .... },
  _importants: { .... },
  _length: 1234,
  _onChange: function() {},
  '0': 'display',
  '1': 'color'
}

new:

> JSON.stringify(decl, 0, 2)
{
  '0': 'display',
  '1': 'color'
}