Q. What is the purpose of the RegExp method test()?
β
Correct Answer: (B)
Tests for a match in its string parameter
Explanation: The RegExp method test() tests for a match in its string parameter.