See:
isPositive = (x) => +x === x && x > 0
In which conditions does it return a wrong value? I haven't found any. isPositive = (x) => +x === x && x > 0
In which conditions does it return a wrong value? I haven't found any.No comments yet.