nerv icon indicating copy to clipboard operation
nerv copied to clipboard

fix: shallowEqual(null, null) shold be true

Open taichiyi opened this issue 4 years ago • 1 comments

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

taichiyi avatar Aug 22 '20 03:08 taichiyi

Coverage Status

Coverage remained the same at 94.172% when pulling 3371308822ae77d6e71dcd9ed2b624bc0b31a415 on taichiyi:shallowEqual-fix into aaa405e79de5926e30ff07a0bb1b94dc994e9446 on NervJS:master.

coveralls avatar Aug 22 '20 03:08 coveralls