Consider the following code snippet
var sets = com.davidflanagan.collections.sets;
What is the programmer trying to do in the above code snippet?
Consider the following code snippet
var sets = com.davidflanagan.collections.sets;
What is the programmer trying to do in the above code snippet?
When a class B can extend another class A, we say that
When a class B can extend another class A, we say that
Which method to use while working with XML fragments, instead of XML()?
Which method to use while working with XML fragments, instead of XML()?
The keyword or the property that you use to refer to an object through which they were invoked is
The keyword or the property that you use to refer to an object through which they were invoked 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 ?
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 ?
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
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
The ‘$’ present in the RegExp object is called a
The ‘$’ present in the RegExp object is called a
Which method of the iterable object returns an iterator object for the collection?
Which method of the iterable object returns an iterator object for the collection?
Why was “The Good Parts” designed as a language subset in JavaScript?
Why was “The Good Parts” designed as a language subset in JavaScript?
The scope of a function is also called as
The scope of a function is also called as
What can be done in order to avoid creation of global variables in JavaScript?
What can be done in order to avoid creation of global variables in JavaScript?
The property of JSON() method is:
The property of JSON() method is:
Consider the following code snippet
let x=x+1;
console.log(x);
What will be the result for the above code snippet?
Consider the following code snippet
let x=x+1;
console.log(x);
What will be the result for the above code snippet?
Consider the following code snippet
data.sort(function(a,b),b-a);
What does the above code do?
Consider the following code snippet
data.sort(function(a,b),b-a);
What does the above code do?
What is being imposed on each subset to ensure that it conforms to the subset?
What is being imposed on each subset to ensure that it conforms to the subset?
What will be the result when non greedy repetition is used on the pattern /a+?b/ ?
What will be the result when non greedy repetition is used on the pattern /a+?b/ ?
The four kinds of class members are
The four kinds of class members are
-
-
-
-
Which is the subset that transforms web content into secure modules that can be safely hosted on a web page?
Which is the subset that transforms web content into secure modules that can be safely hosted on a web page?
Which was one of the first security subsets proposed?
Which was one of the first security subsets proposed?
Which of the following is an example to perform the most common XML manipulations using the XML objects invocation?
Which of the following is an example to perform the most common XML manipulations using the XML objects invocation?
The maximum number of global symbols a module can define is
The maximum number of global symbols a module can define is
Why is the this keyword forbidden in JavaScript?
Why is the this keyword forbidden in JavaScript?
The behaviour of the instances present of a class inside a method is defined by
The behaviour of the instances present of a class inside a method is defined by
Which exception does the Iterators throw from their next() method when there are no more values to iterate, that work on finite collections ?
Which exception does the Iterators throw from their next() method when there are no more values to iterate, that work on finite collections ?
What will be the reaction when a catch clause has no conditionals ?
What will be the reaction when a catch clause has no conditionals ?
Consider the following code snippet :
var o = new F();
o.constructor === F
The output would be :
Consider the following code snippet :
var o = new F();
o.constructor === F
The output would be :
What is the code required to delete all “weight” tags?
What is the code required to delete all “weight” tags?
Modules that have more than one item in their API can
Modules that have more than one item in their API can
What is the code to be used to trim whitespaces ?
What is the code to be used to trim whitespaces ?
To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
Consider the following code snippet
What is the result of the above code snippet?
Consider the following code snippet
What is the result of the above code snippet?
The provides() function and the exportsobject are used to
The provides() function and the exportsobject are used to
Which is the correct code that returns a complex number that is the complex conjugate of this one?
Which is the correct code that returns a complex number that is the complex conjugate of this one?
What does the subexpression /java(script)?/ result in ?
What does the subexpression /java(script)?/ result in ?
Consider the following code snippet
const pi=3.14;
var pi=4;
console.log(pi);
What will be the output for the above code snippet?
Consider the following code snippet
const pi=3.14;
var pi=4;
console.log(pi);
What will be the output for the above code snippet?
Consider the following code snippet
let succ = function(x) x+1, yes = function() true, no = function() false;
What convenience does the above code snippet provide?
Consider the following code snippet
let succ = function(x) x+1, yes = function() true, no = function() false;
What convenience does the above code snippet provide?
When will the finally block be called?
When will the finally block be called?
Which looping statement allows XML tags to appear in JavaScript programs and adds API for operating on XML data?
Which looping statement allows XML tags to appear in JavaScript programs and adds API for operating on XML data?
What is the return type of typeof for standard JavaScript objects?
What is the return type of typeof for standard JavaScript objects?
The basic difference between JavaScript and Java is
The basic difference between JavaScript and Java is
The class that represents the regular expressions is
The class that represents the regular expressions is
The meaning for Augmenting classes is that
The meaning for Augmenting classes is that
Consider the following code snippet
function oddsums(n)
{
let total = 0, result=[];
for(let x = 1; x <= n; x++)
{
let odd = 2*x-1;
total += odd;
result.push(total);
}
return result;
}
What would be the output if
is executed afted the above code snippet ?
Consider the following code snippet
function oddsums(n)
{
let total = 0, result=[];
for(let x = 1; x <= n; x++)
{
let odd = 2*x-1;
total += odd;
result.push(total);
}
return result;
}
What would be the output if
is executed afted the above code snippet ?
-
-
-
-
The let keyword can be used
The let keyword can be used
How can we make methods available on all objects?
How can we make methods available on all objects?
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
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
What is the most essential purpose of parantheses in regular expressions ?
What is the most essential purpose of parantheses in regular expressions ?
The functions provide() and require() of Dojo toolkit and Google’s Closure library are used for
The functions provide() and require() of Dojo toolkit and Google’s Closure library are used for
Which is the object that defines methods that allow complete control over page content?
Which is the object that defines methods that allow complete control over page content?
Which of the following is the descendant operator?
Which of the following is the descendant operator?
The main difference between the variables declared with var and with let is
The main difference between the variables declared with var and with let is
You can refresh the webpage in JavaScript by using
You can refresh the webpage in JavaScript by using
Which are usually variables that are used internally in object methods and also are globally visible variables?
Which are usually variables that are used internally in object methods and also are globally visible variables?
Which are the two functions that are not allowed in any secure subset?
Which are the two functions that are not allowed in any secure subset?
What would be the result of the following statement in JavaScript using regular expression methods ?
What would be the result of the following statement in JavaScript using regular expression methods ?
-
-
-
-
The method that can be used to create new properties and also to modify the attributes of existing properties is
The method that can be used to create new properties and also to modify the attributes of existing properties is
Consider the following code snippet
If p is not defined, what would be the result or type of error?
Consider the following code snippet
If p is not defined, what would be the result or type of error?
If A is the superclass and B is the subclass, then subclass inherting the superclass can be represented as
If A is the superclass and B is the subclass, then subclass inherting the superclass can be represented as
The snippet that filters the filtered set is
The snippet that filters the filtered set is
The Crockford’s subset doesnot include which function in JavaScript?
The Crockford’s subset doesnot include which function in JavaScript?
The properties() method is a
The properties() method is a
What does /[^(]* regular expression indicate ?
What does /[^(]* regular expression indicate ?
The properties of the objects act like different kinds of class members. They are
The properties of the objects act like different kinds of class members. They are
Which is the subset that is a secure container designed for the purpose of safely running untrusted JavaScript?
Which is the subset that is a secure container designed for the purpose of safely running untrusted JavaScript?
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?
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?
Why does JavaScript subset disallow == and !=?
Why does JavaScript subset disallow == and !=?
The method that performs the search-and-replace operation to strings for pattern matching is
The method that performs the search-and-replace operation to strings for pattern matching is
The regular expression to match any one character not between the brackets is
The regular expression to match any one character not between the brackets is