Solved

What Is the Output of Following JavaScript Code

Question 5

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions