a) To use a method that defines all the variables b) To use an object that has the ...
View QuestionThe properties() method is a ________
a) Enumerable method b) Non-enumerable method c) Operational method d) calling method Answer: b Explanation: The properties() is a ...
View Question
What could be achieved by running the JavaScript code snippet below?
var sets = com.davidflanagan.collections.sets;
What could be achieved by running the JavaScript code snippet below? var sets = com.davidflanagan.collections.sets; a) Importing ...
View QuestionThe provides() function and the exportsobject are used to _________
a) Register the module’s API and Store their API b) Call the modules api c) Store the module’s API
View QuestionModules that have more than one item in their API can ________
a) Assign itself to a global variable b) Invoke another module of the same kind c) Return a namespace ...
View QuestionThe scope of a function is also called as ________
a) Predefined function b) Module function c) Public function d) Private function Answer: b Explanation: The scope ...
View Question
What will be the efficiency quotient of the following JavaScript statements?
var Set = sets.Set;
var s = new Set(1,2,3);
What will be the efficiency quotient of the following JavaScript statements? var Set = sets.Set; var s = ...
View QuestionTo define each of the set classes as a property of the sets object (namespace) for the module, the statement is
a) sets = sets.AbstractEnumerableSet.extend(); b) sets.SingletonSet = sets.AbstractEnumerableSet.extend(…); c) sets.SingletonSet = sets.extend(…); d) sets = sets.extend(…); Answer: b Explanation: ...
View QuestionThe maximum number of global symbols a module can define is ____________
a) 2 b) 3 c) 1 d) 4 Answer: c Explanation: Generally, the various modules are allowed to run ...
View QuestionThe functions provide() and require() of Dojo toolkit and Google’s Closure library are used for ___________
a) declaring and loading modules b) declaring functions c) declaring modules d) loading modules Answer: ...
View Question