Closed krmbn0576 closed 5 years ago
To create REALLY pure object, which has no prototype method such as constructor or hasOwnProperty, you can create object by Object.create(null). But, JsonEx cannot stringify and parse these objects. Fixed!
constructor
hasOwnProperty
Object.create(null)
To create REALLY pure object, which has no prototype method such as
constructor
orhasOwnProperty
, you can create object byObject.create(null)
. But, JsonEx cannot stringify and parse these objects. Fixed!