Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

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

  2. 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

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The RegExp method test() tests for a match in its string parameter.


Be The First To Comment