Closed bantic closed 3 years ago
Prior to this, null was incorrectly treated as an empty object, because typeof null === 'object'.
null
typeof null === 'object'
Was reading https://2ality.com/2021/01/undefined-null-revisited.html and realized that ember-json-viewer forgot that null is a valid value in JSON.
Prior to this,
null
was incorrectly treated as an empty object, becausetypeof null === 'object'
.Was reading https://2ality.com/2021/01/undefined-null-revisited.html and realized that ember-json-viewer forgot that
null
is a valid value in JSON.