Logo

Javascript Questions Set 59:

Quiz Mode

Which of these is not a reserved word in JavaScript?

1
2
3
4

Solution:

Which among the following POSIX signals generate events? 

1
2
3
4

Solution:

  JavaScript is a _______________ language. 

1
2
3
4

Solution:

Which operator is used to test if a particular property exists or not?

1
2
3
4

Solution:

Why is the replace() method better than the assign() method?

1
2
3
4

Solution:

Which property is used to read the content present in an HTML element using JavaScript?

1
2
3
4

Solution:

What is the significance of the JavaScript logging library log4javascript?

1
2
3
4

Solution:

Why are Closure Templates used?

1
2
3
4

Solution:

What will be the output of the following JavaScript code?

function counth2()
{
var totalh2 = document.getElementsByTagName("h2");
alert(totalh2.length);
}

<h2>hello</h2>
<h2>hello</h2>

1
2
3
4

Solution:

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

1
2
3
4

Solution: