Which is the opposite to the load event in JavaScript?
A). dontload
B). postload
C). preload
D). unload
unload
The unload event is the opposite of load: it is triggered when the user is navigating away from a document. An unload event handler might be used to save the user’s state, but it cannot be used to cancel navigation.
1. How can you find a client’s browser name?
2. The class that represents the regular expressions is
3. What is the result of the following code snippet?window.location === document.location
4. Which object serves as the global object at the top of the scope chain?
5. Which is the alternate name for JavaScriptCore that is used by Safari?
7. Consider the following code snippet :var o = new F();o.constructor === FThe output would be :
8. Which is the function used to retrieve a value?
9. Which of the following property specifies the string of text that was entered?
10. Which object is the main entry point to all client-side JavaScript features and APIs?