adplus-dvertising
frame-decoration

Question

Modules 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 object

d.

Invoke another module of the same kind

Answer: (c).Return a namespace object

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Modules that have more than one item in their API can

Similar Questions

Discover Related MCQs

Q. The provides() function and the exportsobject are used to

Q. Consider the following code snippet

var sets = com.davidflanagan.collections.sets;

What is the programmer trying to do in the above code snippet?

Q. The properties() method is a

Q. What can be done in order to avoid creation of global variables in JavaScript?

Q. The "$" present in the RegExp object is called a

Q. Consider the following statement containing regular expressions"

var text = "testing: 1, 2, 3";
var pattern = /d+/g;

In order to check if the pattern matches, the statement is

Q. The regular expression to match any one character not between the brackets is

Q. What does /[^(]* regular expression indicate ?

Q. What will be the result when non greedy repetition is used on the pattern /a+?b/ ?

Q. What does the subexpression /java(script)?/ result in ?

Q. What is the most essential purpose of parantheses in regular expressions ?

Q. The method that performs the search-and-replace operation to strings for pattern matching is

Q. What would be the result of the following statement in JavaScript using regular expression methods ?

Q. The Crockford's subset doesnot include which function in JavaScript?

Q. Why does JavaScript subset disallow == and !=?

Q. What is being imposed on each subset to ensure that it conforms to the subset?

Q. Why was "The Good Parts" designed as a language subset in JavaScript?

Q. Which is the subset that is a secure container designed for the purpose of safely running untrusted JavaScript?

Q. Why is the this keyword forbidden in JavaScript?

Q. Which are the two functions that are not allowed in any secure subset?