We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Because https://github.com/substack/node-deep-equal/blob/master/index.js#L16-L17 tests for typeof !== 'object', this fails to account for the fact that null == undefined (since typeof null === 'object'), resulting in a surprising situation.
typeof !== 'object'
null == undefined
typeof null === 'object'
See: tapjs/tapjs#155
Would you be open to a PR that addressed this?
The text was updated successfully, but these errors were encountered:
Null should == undefined
962fa75
But only in non-strict mode. Fix inspect-js#23
Use patched deep-equal for now
994b64b
Fix #155 until inspect-js/node-deep-equal#23 lands
No branches or pull requests
Because https://github.com/substack/node-deep-equal/blob/master/index.js#L16-L17 tests for
typeof !== 'object'
, this fails to account for the fact thatnull == undefined
(sincetypeof null === 'object'
), resulting in a surprising situation.See: tapjs/tapjs#155
Would you be open to a PR that addressed this?
The text was updated successfully, but these errors were encountered: