You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
using immutable.is() if either operand is zero gives inconsistent / inconvenient results. Neither the built-in Number objects, nor any custom value objects can ever be equal to 0.
From @balagge on Thu, 26 Sep 2019 08:36:12 GMT
What happened
using
immutable.is()
if either operand is zero gives inconsistent / inconvenient results. Neither the built-inNumber
objects, nor any custom value objects can ever be equal to0
.How to reproduce
Cause
Following lines cause an early return (with
false
) if any operand is zero:https://github.com/immutable-js/immutable-js/blob/e65e5af806ea23a32ccf8f56c6fabf39605bac80/src/is.js#L68-L70
Copied from original issue: immutable-js#1736
The text was updated successfully, but these errors were encountered: