Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the purpose of the advanced mode in the closure compiler?

  2. A.

     Renames variables

    B.

     Renames function

    C.

     Both Renames variables and function

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    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