1.

Which one of the following is more efficient in terms of the file size reduction?(a) YUI(b) Closure Compiler (advanced)(c) Minify(d) Closure Compiler (simple)I got this question at a job interview.My doubt is from JavaScript Minification topic in division Performance Measures in JavaScript of JavaScript

Answer»

The correct choice is (b) Closure COMPILER (advanced)

BEST explanation: The Closure Compiler is a tool for making JAVASCRIPT download and RUNS faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. The Closure Compiler (advanced) has a more number PERCENT of file size reduction by product.



Discussion

No Comment Found

Related InterviewSolutions