Logo

Javascript Questions Set 33:

Quiz Mode

if ("0") {
 alert( 'Hello' );
}

1
2

Solution:

Array.of(7);

1
2
3
4

Solution:

<script>

x=6+"9";

document.write(x);

</script>

1
2
3
4

Solution:

 Which function is a synonym for on()? 

1
2
3
4

Solution:

Which of the following is an equivalent replacement for $(document).ready(f)?

1
2
3
4

Solution:

Which of the events that represents  occurrences related to the browser window?

1
2
3
4

Solution:

Where can the AngularJS library be loaded in an HTML document?

1
2
3
4

Solution:

Which built-in method in JavaScript returns the string representation of a number's value?

1
2
3
4

Solution:

How to detect and respond to mouse drags?

1
2
3
4

Solution:

If we want to replace the last paragraph in a document that contains several paragraphs, which of the following is the correct syntax of the HTML method to be used?

1
2
3
4

Solution: