58.2k views
3 votes
What would a match() property that passed the expression /^[0-9]/ check for?

A.
all strings that do not contain numerals
B.
all strings that contain only numerals
C.
all numeric values
D.
all strings that contain numerals but start with ^
E.
a string that contains only one numeral between 0 and 9

2 Answers

0 votes

Answer:

E

Step-by-step explanation:

I took the test

User Erik Grosskurth
by
4.5k points
6 votes

Answer:

B. all strings that contain only numerals

Step-by-step explanation:

User Vbstb
by
5.0k points