In how many modes can the Closure compiler be run?
(a) 2
(b) 3
(c) 4
(d) 5
(a) 2
(b) 3
(c) 4
(d) 5
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Right answer is (a) 2
Explanation: Closure Compiler can be run in either of two modes:
In Simple mode it mostly performs like most other minifiers, removing whitespace, line breaks, and comments
In Advanced mode it rewrites the JavaScript by renaming variables and functions from longer descriptive names to single letters to save file size, and it inlines functions, coalescing them into single functions wherever it determines that it can