1.

Why was “The Good Parts” designed as a language subset in JavaScript?(a) To improve programmer flexibility(b) To balance the workload of the programmer(c) To create an in-built compiler and interpreter(d) To improve programmer productivityI got this question in examination.My enquiry is from JavaScript Subsets in portion Classes and Modules in JavaScript of JavaScript

Answer»

The correct CHOICE is (d) To improve programmer productivity

To explain I would say: 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”.



Discussion

No Comment Found

Related InterviewSolutions