4.0.0 • Published 7 years ago
starry._same-value-zero v4.0.0
Member of the starry suite—modular functions for iterable objects.
Status
Applies to the whole suite.
Usage
function _sameValueZero(x: any, y: any): booleanReimplements ECMAScript's SameValueZero wherein two values equal if they are of the same value or if both of them are zero regardless of sign.
-0and+0are equal.NaNandNaNare equal.
Parameters:
- x:
any - y:
any
Returns: Boolean