1.

The 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 modulesThe question was asked during a job interview.Query is from Modules in JavaScript in division Classes and Modules in JavaScript of JavaScript

Answer»

Correct option is (a) declaring and loading modules

To explain I would SAY: Both the Dojo toolkit and GOOGLE’s Closure library DEFINE PROVIDE() and require() FUNCTIONS for declaring and loading modules.



Discussion

No Comment Found

Related InterviewSolutions