Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Why was “The Good Parts” designed as a language subset in JavaScript?

  2. A.

     To improve programmer flexibility

    B.

     To balance the work load of the programmer

    C.

     To create an in-built compiler and interpreter

    D.

     To improve programmer productivity

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    The Good Parts is a language subset designed for aesthetic reasons and with a desire to improve programmer productivity. There is a larger class of subsets that have been designed for the purpose of safely running untrusted JavaScript in a secure container or “sandbox”.


Be The First To Comment