Computer Science, asked by jha2332, 3 months ago


Numeric variable contains only? fill in the blanks​

Answers

Answered by LiarHeart
1

Answer:

To check for all numbers in a field

To get a string contains only numbers (0-9) we use a regular expression (/^[0-9]+$/) which allows only numbers. Next, the match() method of the string object is used to match the said regular expression against the input value

Explanation:

where is blanks

Answered by kanavkanu
4

Explanation:

hope this helps to you ☺️☺️

Attachments:
Similar questions