Logo

Javascript Questions Set 36:

Quiz Mode

Which of the following are not key event properties?

1
2
3
4

Solution:

Which method of the Window object can be used to open a new web browser window?

1
2
3
4

Solution:

Which method removes the current document from the browsing history before loading the new document?

1
2
3
4

Solution:

Which property specifies the position and button state of the mouse?

1
2
3
4

Solution:

Which method is used to cancel future invocations of the function scheduled by setInterval()?

1
2
3
4

Solution:

What is the solution to the absence of a script tag without a src attribute?

1
2
3
4

Solution:

 JavaScript _________ when there is an indefinite or an infinite value during an arithmetic computation. 

1
2
3
4

Solution:

What will be the output of the following JavaScript code?

<p id="demo"></p>
<script>
var carName = "Volvo";
var carName;
document.getElementById("demo").innerHTML = carName;
</script>

1
2
3
4

Solution:

What is the code to print 'Hello World' one second from now?

1
2
3
4

Solution:

What is the JavaScript code snippet to update the content of the timestamp element when the user clicks on it?

1
2
3
4

Solution: