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
Q15: Which of the following event fires when
Q16: JavaScript is interpreted by _
A)client
B)server
C)object
D)none of the
Q17: How to create a Date object in
Q18: The syntax of a blur method in
Q19: The syntax of capture events method for
Q20: The syntax of close method for document
Q21: Choose the client-side JavaScript object:
A)database
B)cursor
C)client
D)fileupload
Q22: What Is The Output Of Following JavaScript
Q24: JavaScript is _ Side Scripting Language.
A)browser
B)isp
C)noneof these
D)server
Q25: Local Browser used for validations on the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents