Logo

Javascript Questions Set 49:

Quiz Mode

The Closure Compiler was introduced by ___________

1
2
3
4

Solution:

Which event occurs when the user clicks on an HTML element?

1
2
3
4

Solution:

Which of the following object defines an API for determining the user's geographical location?

1
2
3
4

Solution:

When is the mouseout event fired?

1
2
3
4

Solution:

 What will happen if a return statement does not have an associated expression? 

1
2
3
4

Solution:

Which Angular form validators allow you to validate form information against your backend using $http?

1
2
3
4

Solution:

How does the Closure Compiler improve the efficiency of JavaScript files?

1
2
3
4

Solution:

What does the following JavaScript code do?

data.sort(function(a, b) { return b - a; });

1
2
3
4

Solution:

The changeYear property of the datepicker widget is used to display the dropdown list so the user can select the year.

1
2
3
4

Solution:

Create a class that calculates the area of a rectangle.

1
2
3
4

Solution: