Skip to content

Instantly share code, notes, and snippets.

@tavriaforever
Created November 26, 2013 18:41
Show Gist options
  • Save tavriaforever/7663568 to your computer and use it in GitHub Desktop.
Save tavriaforever/7663568 to your computer and use it in GitHub Desktop.
Проверка на число
function isNumeric(n) {
return !isNaN(parseFloat(n)) && isFinite(n);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment