McqMate
Q. |
<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 |
Answer» A. 9123 |
View all MCQs in
Fundamentals of Web DesigningNo comments yet