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

This Question Belongs to Javascript >> Performance Measures

Join The Discussion

Related Questions on Performance Measures