Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Why is a closure template used?

  2. A.

     Statically updating in JavaScript

    B.

     To increase the efficiency and convenience

    C.

     Dynamically generating HTML in Java and JavaScript

    D.

     All of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Closure Templates are a templating system for dynamically generating HTML in both Java and JavaScript. Because the language was apparently referred to as “Soy” internal to Google, and “Soy” remains in some of the documentation and classes, sometimes Closure Templates are referred to as “Soy Templates”.


Be The First To Comment