Consider the following script- <html> <head><title>JavaScript</title></head> <body> <script language="JavaScript"> var x=80 var y=(x==80 ? "pass" :"fail"); document.write(y) </script> </body> </html> What will be the output of the above script?
Asked in Mizoram PSC 5.Technical Paper-III
Answer under review: our editors are checking this question. Try the other MPSC Prelims previous year questions questions meanwhile.
More MPSC Prelims previous year questions questions
- When trying to access a URL, the following message is displayed on the browser: Server; Error 403 What could be the reason for the above message?
- A header in CGI script can specify
- The term byte stuffing refers to-
- Which of the following is/are correct regarding the SMTP protocol?
- HTTP has similarities to both of the following protocols-
- 2, 5, 11, 20, 32, ...
- 3, 7, 15, 31, 63, ...
- 2, 4, 10, 28, 82, ...