Closed liyuanqiu closed 5 years ago
typeof null === 'object'
So if some value is null in JSON, an error will be thrown because of
null
Object.keys(null)
is illegal.
So if some value is
null
in JSON, an error will be thrown because ofis illegal.