CSE MCQs :: Javascript MCQs
- Which are usually variables that are used internally in object methods and also are globally visible variables?
- The basic difference between JavaScript and Java is
- When a class B can extend another class A, we say that
-
Consider the following code snippetconsole.log(p)If p is not defined, what would be the result or type of error?
- Why was "The Good Parts designed as a language subset in JavaScript?
- Which are the two functions that are not allowed in any secure subset?
- 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 containing regular expressionsvar text = "testing: 1, 2, 3";var pattern = /\d+/g;In order to check if the pattern matches, the statement is
- What will be the reaction when a catch clause has no conditionals ?