Skip to content

Instantly share code, notes, and snippets.

@trico
Created December 12, 2011 15:12
Show Gist options
  • Save trico/1467763 to your computer and use it in GitHub Desktop.
Save trico/1467763 to your computer and use it in GitHub Desktop.
Comprueba si la cadena contiene números
function(a){return!/[0-9]+/g.test(a)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment