Vidyalelo
JavaScript · all questions

Classes And Modules
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

68

Questions

1/4

Page

Pick an option on a question to see the right answer and solution.

The behaviour of the instances present of a class inside a method is defined by

Select an option to see the answer and solution.

The keyword or the property that you use to refer to an object through which they were invoked is

Select an option to see the answer and solution.

Consider the following code snippet :
var o = new F();
o.constructor === F
The output would be :

Select an option to see the answer and solution.

The basic difference between JavaScript and Java is

Select an option to see the answer and solution.

The meaning for Augmenting classes is that

Select an option to see the answer and solution.

The property of JSON() method is:

Select an option to see the answer and solution.

When a class B can extend another class A, we say that

Select an option to see the answer and solution.

If A is the superclass and B is the subclass, then subclass inherting the superclass can be represented as

Select an option to see the answer and solution.

The snippet that filters the filtered set is

Select an option to see the answer and solution.

The method that can be used to create new properties and also to modify the attributes of existing properties is

Select an option to see the answer and solution.

The four kinds of class members are

Select an option to see the answer and solution.

The properties of the objects act like different kinds of class members. They are

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.

Which are usually variables that are used internally in object methods and also are globally visible variables?

Select an option to see the answer and solution.

The class that represents the regular expressions is

Select an option to see the answer and solution.

Which is the correct code that returns a complex number that is the complex conjugate of this one?

Select an option to see the answer and solution.

How can we make methods available on all objects?

Select an option to see the answer and solution.

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?

Select an option to see the answer and solution.

You can refresh the webpage in JavaScript by using

Select an option to see the answer and solution.

The functions provide() and require() of Dojo toolkit and Google’s Closure library are used for

Select an option to see the answer and solution.