Logo

Javascript Questions Set 237:

Quiz Mode

Which of the following is an interface?

1
2
3
4

Solution:

Under which license is Node.js released?

1
2
3
4

Solution:

How is HTTP GET request sent from the browser?

1
2
3
4

Solution:

Which of the following properties or methods are defined by the specification?

1
2
3
4

Solution:

What will be the output?

var object = {     A: 1,     B: 2,     C: 3,     D: 4 } console.log(object.E);

1
2
3
4

Solution:

What does the operator '===' do in JavaScript?

1
2
3
4

Solution:

What will be the output of the code given below:

console.log(type); let type = 10; console.log(type);

1
2
3
4

Solution:

 

What is the prototype represents in the following JavaScript code snippet?


function f() {};

1
2
3
4

Solution:

How can we add events to HTML elements?

1
2
3
4

Solution:

Which of the following programs is correct with respect to calculating the perimeter of entered geometrical figures using a common class?

1
2
3
4

Solution: