5 ms·
See: isPositive = (x) => +x === x && x > 0 In which conditions does it return a wrong value? I haven't found any.
by plugnburn 10y ago
See:
isPositive = (x) => +x === x && x > 0
In which conditions does it return a wrong value? I haven't found any.