check presense of nmber in a string javascript code example
Example: check presense of nmber in a string javascript
function hasNumber(myString) {
return /\d/.test(myString);
}
function hasNumber(myString) {
return /\d/.test(myString);
}