Open brigand opened 11 years ago
When isNaN(parseInt(x)), then (x | 0) !== parseInt(x, 10).
isNaN(parseInt(x))
(x | 0) !== parseInt(x, 10)
When
isNaN(parseInt(x))
, then(x | 0) !== parseInt(x, 10)
.