Q.1
What will be the result when non greedy repetition is used on the pattern /a+?b/ ?
Q.2
What does the subexpression /java(script)?/ result in ?
Q.3
To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
Q.4
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 ?
Q.5
What can be done in order to avoid creation of global variables in JavaScript?
Q.6
The ‘$’ present in the RegExp object is called a
Q.7
Which is the correct code that returns a complex number that is the complex conjugate of this one?
Q.8
The scope of a function is also called as
Q.9
How can we make methods available on all objects?
Q.10
What is the procedure to add methods to HTMLElement so that they will be inherited by the objects that represent the HTML tags in the current document?
Q.11
Modules that have more than one item in their API can
Q.12
You can refresh the webpage in JavaScript by using
Q.13
The functions provide() and require() of Dojo toolkit and Google’s Closure library are used for
Q.14
The four kinds of class members are
Q.15
The properties of the objects act like different kinds of class members. They are
Q.16
The object whose properties are inherited by all instances of the class, and properties whose values are functions behaving like instance methods of the class, is
Q.17
Which are usually variables that are used internally in object methods and also are globally visible variables?
Q.18
The class that represents the regular expressions is
Q.19
The property of JSON() method is:
Q.20
When a class B can extend another class A, we say that
0 h : 0 m : 1 s