Q58
What is the function of a Closure Compiler?
A.
Originates the JavaScript
B.
Compiles the JavaScript
C.
Rewrites JavaScript
AnswerD.
None of the mentioned
Answer: Option C
Solution
Answer: Option C
Solution:
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).