1.

Consider the following statements: namespace McqsMentorConsoleApplication var text = "testing: 1, 2, 3"; // Sample text var pattern = /d+/g // Matches all instances of one or more digits In order to check if the pattern matches with the string "text", the statement is

A. Text==pattern
B. Text.equals(pattern)
C. Text.test(pattern)
D. Pattern.test(text)
Answer» E.


Discussion

No Comment Found