1.

The maximum number of global symbols a module can define is ____________(a) 2(b) 3(c) 1(d) 4This question was posed to me in exam.I'd like to ask this question from Modules in JavaScript in portion Classes and Modules in JavaScript of JavaScript

Answer»

Correct OPTION is (C) 1

For explanation: GENERALLY, the various modules are allowed to run in the pristine (or near pristine) ENVIRONMENT that it expects. The modules should minimize the number of global symbols they define – ideally, no MODULE should define more than one.



Discussion

No Comment Found

Related InterviewSolutions