What is the function of a Closure Compiler?

A. Originates the JavaScript

B. Compiles the JavaScript

C. Rewrites JavaScript

D. None of the mentioned

Answer: Option C

Solution(By Examveda Team)

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).

Join The Discussion

Related Questions on Performance Measures