Open scozv opened 10 years ago
From Algo.js of Google Code on July 31, 2013 23:13:36
we use (isNaN(x = +x)) to valid whether x is numeric value or not.
(isNaN(x = +x))
according to isNumber test, the improvement for integer validation or numeric validation should be applied.
isNumber
Original issue: http://code.google.com/p/algo-js/issues/detail?id=10
From Algo.js of Google Code on July 31, 2013 23:13:36
we use
(isNaN(x = +x))
to valid whether x is numeric value or not.according to
isNumber
test, the improvement for integer validation or numeric validation should be applied.Original issue: http://code.google.com/p/algo-js/issues/detail?id=10