Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the function of a Closure Compiler?

  2. A.

     Originates the JavaScript

    B.

     Compiles the JavaScript

    C.

     Rewrites JavaScript

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment