Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. In how many modes can the Closure compiler be run?

  2. A.

     2

    B.

     3

    C.

     4

    D.

     5

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    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


Be The First To Comment