Created
February 27, 2019 02:44
-
-
Save teak1/36e114a72e478df2441d5f95381f1c32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isInt(number){ | |
return number==(number|0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the intention of how this code works is flawed, the js behaves how it should but this code is not viable to detect an integer value.