Closed jkrems closed 9 years ago
Example: stringify(Object.create(null)).
stringify(Object.create(null))
TypeError: Object object has no method 'hasOwnProperty' at safeGetValueFromPropertyOnObject (/path/to/safe-json-stringify/index.js:2:10) at /path/to/safe-json-stringify/index.js:26:16
For reference:
> node -p 'JSON.stringify(Object.create(null))' {}
Example:
stringify(Object.create(null))
.For reference: