Q. What is the function of a Closure Compiler?

  • (A) Originates the JavaScript
  • (B) Compiles the JavaScript
  • (C) Rewrites JavaScript
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) Rewrites JavaScript
Explanation: Closure Compiler runs through a number of “scorched-earth” optimizations—it unfurls functions, rewrites variable names, and removes functions that are never called (as far as it can tell).
Explanation by: Mr. Dubey
Closure Compiler runs through a number of “scorched-earth” optimizations—it unfurls functions, rewrites variable names, and removes functions that are never called (as far as it can tell).

πŸ’¬ Discussion


πŸ“Š Question Analytics

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