CSE :: Javascript - CS
- To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
-
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 ?
- The scope of a function is also called as
- Modules that have more than one item in their API can
- The provides() function and the exportsobject are used to
-
Consider the following code snippet
var sets = com.davidflanagan.collections.sets;
What is the programmer trying to do in the above code snippet?
- The properties() method is a
- What can be done in order to avoid creation of global variables in JavaScript?
- The ā$ā present in the RegExp object is called a