Skip to content

Instantly share code, notes, and snippets.

@boo1ean
Created December 19, 2012 08:00
Show Gist options
  • Save boo1ean/4335170 to your computer and use it in GitHub Desktop.
Save boo1ean/4335170 to your computer and use it in GitHub Desktop.
sad but true
function isInt(n) {
if (n == 1 || n == 2 || n == 3 || n == 4 || n == 5 || n == 6 || n == 7 || n == 8 || n == 9 || n == 0) {
return true
} else {
return false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment