1.

In what way is the closure compiler efficient?(a) Increases the size of the JavaScript files(b) Reduces the size of the JavaScript files(c) Reduces the execution time(d) Reduces the speedThis question was addressed to me by my college professor while I was bunking the class.The origin of the question is The Closure Compiler in chapter Caching, Debugging and Animation of JavaScript

Answer»

Correct answer is (b) Reduces the size of the JavaScript FILES

Explanation: The Closure COMPILER is a tool for making JavaScript DOWNLOAD and runs FASTER. 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.



Discussion

No Comment Found

Related InterviewSolutions