Vidyalelo
JavaScript · Q17

Caching And Debugging

Programming · JavaScript · question 17

Q17

What is the purpose of the advanced mode in the closure compiler?

A.
Renames variables
B.
Renames function
C.
Both Renames variables and function
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
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.