isNumberFinite could potentially accept NaN #11925
sharma-shray
started this conversation in
General
Replies: 1 comment
-
Yes, you can provide any input to the function. But only if the input is a finite number it will return true. When entering NaN or a string for example it will return false |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The function isNumberFinite could potentially accept NaN as a valid input since isFinite(NaN) returns false? func
Beta Was this translation helpful? Give feedback.
All reactions