Examveda
Examveda

In how many modes can the Closure compiler be run?

A. 2

B. 3

C. 4

D. 5

Answer: Option A

Solution(By Examveda Team)

Closure Compiler can be run in either of two modes:
1. In Simple mode it mostly performs like most other minifiers, removing whitespace, line breaks, and comments 2. 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

Join The Discussion

Related Questions on Performance Measures

The let keyword can be used

A. in a for or for/in loop, as a substitute for var

B. as a block statement, to define new variables

C. to define variables that are scoped to a single expression

D. all of the mentioned