Logo

Javascript Questions Set 242:

Quiz Mode

What is not a key event property?

1
2
3
4

Solution:

How many properties are there in the window.performance object?

1
2
3
4

Solution:

Deduce the output of the following code:


<script>

var x=24;

{

var x=4;

}

document.write(x)

</script>

Solution:

Which of the following is an appropriate event when the user clicks on an element?

1
2
3
4

Solution:

Identify the component which helps us to navigate programmatically (like after a form submits).

1
2
3
4

Solution:

What type of expression is new Point(2,3)?

1
2
3
4

Solution:

Evaluate the output of the following code-snippet?

<p id = "check" > </p>


<script>

document.getElementById("check").innerHTML = 7 == "abekus"

</script>


Solution:

What is the correct syntax to change the text within a paragraph DOM object?

1
2
3
4

Solution:

What will be the output of the following code?

<p id="abekus"></p>

<script>
var x;
document.getElementById("abekus").innerHTML = Boolean(x);
</script>

1
2
3
4

Solution:

Which event is used to affect the content of an HTML element when the mouse is not placed over it?

1
2
3
4

Solution: