Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (B) Retrives from the browser cache
Explanation: 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.
Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
158
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate