Q.1
Which is the subset that transforms web content into secure modules that can be safely hosted on a web page?
Q.2
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?
Q.3
The let keyword can be used
Q.4
What is being imposed on each subset to ensure that it conforms to the subset?
Q.5
Why was “The Good Parts” designed as a language subset in JavaScript?
Q.6
Which is the subset that is a secure container designed for the purpose of safely running untrusted JavaScript?
Q.7
Why is the this keyword forbidden in JavaScript?
Q.8
Which are the two functions that are not allowed in any secure subset?
Q.9
What is the most essential purpose of parantheses in regular expressions ?
Q.10
The method that performs the search-and-replace operation to strings for pattern matching is
Q.11
What would be the result of the following statement in JavaScript using regular expression methods ?
Q.12
The Crockford’s subset doesnot include which function in JavaScript?
Q.13
Why does JavaScript subset disallow == and !=?
Q.14
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
Q.15
The regular expression to match any one character not between the brackets is
Q.16
What does /[^(]* regular expression indicate ?
Q.17
The maximum number of global symbols a module can define is
Q.18
The provides() function and the exportsobject are used to
Q.19
Consider the following code snippet
var sets = com.davidflanagan.collections.sets;
What is the programmer trying to do in the above code snippet?
Q.20
The properties() method is a
0 h : 0 m : 1 s