Logo

Javascript Questions Set 28:

Quiz Mode

What does status code 500 indicate?

1
2
3
4

Solution:

What does var and function mean in JavaScript.

1
2
3
4

Solution:

What will be the output of the following JavaScript code?


  var o = new F();
  console.log(o.constructor === F);

1
2
3
4

Solution:

What does the pop() method of an array do?

1
2
3
4

Solution:

When an empty statement is encountered, a JavaScript interpreter ________

1
2
3
4

Solution:

What will be the output of the following JavaScript code?


set.add("AngularJS");

set.add("Bootstrap");

set.delete("Bootstrap");

console.log(set.size);

1
2
3
4

Solution:

Why can't browsers read JSX?

1
2
3
4

Solution:

What does the size property of a Map object return?

1
2
3
4

Solution:

What is the observation made in the following JavaScript code?


if (!a[i]) continue;

1
2
3
4

Solution:

What can be said about the Math object in JavaScript?

1
2
3
4

Solution: