The maximum number of global symbols a module can define is
Select an option to see the answer and solution.
To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
Select an option to see the answer and solution.
Consider the following statement
var Set = sets.Set;
var s = new Set(1,2,3);
What could be the efficiency quotient of the above two statements ?
Select an option to see the answer and solution.
The scope of a function is also called as
Select an option to see the answer and solution.
Modules that have more than one item in their API can
Select an option to see the answer and solution.
The provides() function and the exportsobject are used to
Select an option to see the answer and solution.
Consider the following code snippet
var sets = com.davidflanagan.collections.sets;
What is the programmer trying to do in the above code snippet?
Select an option to see the answer and solution.
The properties() method is a
Select an option to see the answer and solution.
What can be done in order to avoid creation of global variables in JavaScript?
Select an option to see the answer and solution.
The ‘$’ present in the RegExp object is called a
Select an option to see the answer and solution.
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
Select an option to see the answer and solution.
The regular expression to match any one character not between the brackets is
Select an option to see the answer and solution.
What does /[^(]* regular expression indicate ?
Select an option to see the answer and solution.
What will be the result when non greedy repetition is used on the pattern /a+?b/ ?
Select an option to see the answer and solution.
What does the subexpression /java(script)?/ result in ?
Select an option to see the answer and solution.
What is the most essential purpose of parantheses in regular expressions ?
Select an option to see the answer and solution.
The method that performs the search-and-replace operation to strings for pattern matching is
Select an option to see the answer and solution.
What would be the result of the following statement in JavaScript using regular expression methods ?
Select an option to see the answer and solution.
The Crockford’s subset doesnot include which function in JavaScript?
Select an option to see the answer and solution.
Why does JavaScript subset disallow == and !=?
Select an option to see the answer and solution.