What will be done if more than one page requires a file of JavaScript code?
A. Downloads that many times
B. Retrives from the browser cache
C. Must be re executed
D. None of the mentioned
Answer: Option B
Solution(By Examveda Team)
If a file of JavaScript code is shared by more than one page, it only needs to be downloaded once, by the first page that uses it—subsequent pages can retrieve it from the browser cache.Related Questions on Server Side and Client Side Scripting
What are the events generated by the Node objects called?
A. generators
B. emitters
C. dispatchers
D. highevents
What is the function used to deregister event handler ‘f’?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
What is the function used to remove all handlers for name events?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
Join The Discussion