Multiple Choice
Consider the following statements var text = "testing: 1, 2, 3"; // Sample text var pattern = /\d+/g In order to check if the pattern matches with the string "text", the statement is
A) text==pattern
B) pattern.test(text)
C) text.test(pattern)
D) text.equals(pattern)
Correct Answer:

Verified
Correct Answer:
Verified
Q14: CSS comments are inserted inside …………………<br>A)//...................//<br>B)<!..................><br>C)/*..................*/<br>D)All of
Q15: Which of the following are the background
Q16: When does JavaScript code appear inline within
Q17: The snippet that has to be used
Q18: The _ property specifies the stack order
Q19: JavaScript Code can be called by using<br>A)RMI<br>B)Triggering
Q20: _ property specifies an image to use
Q21: To specify table border in CSS, _
Q22: Head tag is used for?<br>A)Writing style<br>B)Writing Java
Q23: What is the default value of the