Vidyalelo
JavaScript · Q57

Caching And Debugging

Programming · JavaScript · question 57

Q57

What is the purpose of the RegExp method test()?

A.
Tests for a match in its float parameter
B.
Tests for a match in its string parameter
Answer
C.
Tests for a match in its integer parameter
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
The RegExp method test() tests for a match in its string parameter.