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
Test for a match in node
Correct Answer: Tests for a match in its string parameter
RegExp stands for regular expression which is an object that describes a pattern of characters.