MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your JavaScript Questions & Answers JavaScript in Web Browsers I knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The setTimeout() method is used to _______________ |
| A. | Make the event sleep |
| B. | Register a function to be invoked after a certain time |
| C. | Invoke an event after a certain time |
| D. | Time for iteration |
| Answer» C. Invoke an event after a certain time | |
| 2. |
Which Window object method is used to display a message in a dialog box? |
| A. | alert() |
| B. | prompt() |
| C. | message() |
| D. | console.log |
| Answer» B. prompt() | |
| 3. |
The word document mainly refers to ______________ |
| A. | Dynamic Information |
| B. | Static Information |
| C. | Both Dynamic and Static Information |
| D. | Temporary information |
| Answer» C. Both Dynamic and Static Information | |