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?
The snippet that filters the filtered set is
The snippet that filters the filtered set 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
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
Why does JavaScript subset disallow == and !=?
Why does JavaScript subset disallow == and !=?
Which method to use while working with XML fragments, instead of XML()?
Which method to use while working with XML fragments, instead of XML()?
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?
What does the subexpression /java(script)?/ result in ?
What does the subexpression /java(script)?/ result in ?
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 ?
The scope of a function is also called as
The scope of a function is also called as
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 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
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 :
Modules that have more than one item in their API can
Modules that have more than one item in their API can
You can refresh the webpage in JavaScript by using
You can refresh the webpage in JavaScript by using
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?
What will be the reaction when a catch clause has no conditionals ?
What will be the reaction when a catch clause has no conditionals ?
The let keyword can be used
The let keyword can be used
The maximum number of global symbols a module can define is
The maximum number of global symbols a module can define is
What is the code to be used to trim whitespaces ?
What is the code to be used to trim whitespaces ?
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/ ?
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?
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?
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?
The ‘$’ present in the RegExp object is called a
The ‘$’ present in the RegExp object is called a
When a class B can extend another class A, we say that
When a class B can extend another class A, we say that
The properties() method is a
The properties() method is a
The Crockford’s subset doesnot include which function in JavaScript?
The Crockford’s subset doesnot include which function in JavaScript?
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
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
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?
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?
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
What does /[^(]* regular expression indicate ?
What does /[^(]* regular expression indicate ?
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 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?
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?
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
The basic difference between JavaScript and Java is
The basic difference between JavaScript and Java 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 ?
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
When will the finally block be called?
When will the finally block be called?
What is the code required to delete all “weight” tags?
What is the code required to delete all “weight” tags?
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?
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 provides() function and the exportsobject are used to
The provides() function and the exportsobject are used to
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 ?
-
-
-
-
Why is the this keyword forbidden in JavaScript?
Why is the this keyword forbidden in JavaScript?
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?
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 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?
The property of JSON() method is:
The property of JSON() method is:
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 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
What is the most essential purpose of parantheses in regular expressions ?
What is the most essential purpose of parantheses in regular expressions ?
Which was one of the first security subsets proposed?
Which was one of the first security subsets proposed?
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?
How can we make methods available on all objects?
How can we make methods available on all objects?
The meaning for Augmenting classes is that
The meaning for Augmenting classes is that
The class that represents the regular expressions is
The class that represents the regular expressions is
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?
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 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 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 is the return type of typeof for standard JavaScript objects?
What is the return type of typeof for standard JavaScript objects?
The four kinds of class members are
The four kinds of class members are
-
-
-
-
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?