Skip to content

fix: shallowEqual(null, null) shold be true#167

Open
taichiyi wants to merge 1 commit intoNervJS:masterfrom
taichiyi:shallowEqual-fix
Open

fix: shallowEqual(null, null) shold be true#167
taichiyi wants to merge 1 commit intoNervJS:masterfrom
taichiyi:shallowEqual-fix

Conversation

@taichiyi
Copy link
Copy Markdown

因为 严格相等(===) 和 同值相等(Object.is) 都为 true ,所以 shallowEqual(null, null) 也应该为 true

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 94.172% when pulling 3371308 on taichiyi:shallowEqual-fix into aaa405e on NervJS:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants