Q14
What are the benefits of closure compiler?
A.
Efficiency
B.
Code checking
C.
Both Efficiency and Code checking
D.
None of the mentioned
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
The closure compiler is highly beneficial in terms of :1. Efficiency: The Closure Compiler reduces the size of your JavaScript files and makes them more efficient, helping your application to load faster and reducing your bandwidth needs.
2. Code checking: The Closure Compiler provides warnings for illegal JavaScript and warnings for potentially dangerous operations, helping you to produce JavaScript that is less buggy and easier to maintain.