adplus-dvertising
frame-decoration

Question

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: (b).Tests for a match in its string parameter

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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