Multiple Choice
What Is The Output Of Following JavaScript Code?
-<script type="text/javascript"> var s = "9123456 or 80000?"; var pattern = /\d{4}/; var output = s.match(pattern) ; document.write(output) ; </script>
A) 9123
B) 91234
C) 80000
D) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: _ JavaScript statements embedded in an HTML
Q2: Which of the following way can be
Q3: Which of the following attribute can hold
Q4: The syntax of a blur method in
Q6: Which of the following event fires when
Q7: Which of the following can't be done
Q8: The syntax of capture events method for
Q9: What is the correct syntax for referring
Q10: When a user views a page containing
Q11: How to create a Date object in