Logo

Javascript Questions Set 187:

Quiz Mode

for/____ loop iterates through the properties of an object. 

Solution:

  Which is not a JavaScript global function? 

1
2
3
4

Solution:

Which JavaScript event is triggered in response to errors?

1
2
3
4

Solution:

Choose the names that are acceptable for JavaScript variables.

1
2
3
4

Solution:

To line up the elements on which we have applied a draggable widget, we will use the _______ property.

1
2
3
4

Solution:

Which of the following browsers support the usage of the JavaScript logging library log4javascript?

1
2
3
4

Solution:

When will the browser invoke the event handler?

1
2
3
4

Solution:

What is the name of the reducer function that replaces the current reducer used by the store to calculate the state?

1
2
3
4

Solution:

What is the purpose of the property PerformanceTiming.navigationStart?

1
2
3
4

Solution:

Consider the following JavaScript statements:


var text = "testing: 1, 2, 3"; // Sample text

var pattern = /\d+/g; // Matches all instances of one or more digits


Which statement can be used to check if the pattern matches the string "text"?

1
2
3
4

Solution: