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
C. Tests for a match in its integer parameter
D. None of the mentioned
Answer: Option B
Solution(By Examveda Team)The RegExp method test() tests for a match in its string parameter.
C. both setTimeout and setInterval
D. none of the mentioned