Logo

Javascript Questions Set 51:

Quiz Mode

Which method is used for registering event handlers?

1
2
3
4

Solution:

Where is the information of the userAgent property located?

1
2
3
4

Solution:

Which database type is most appropriate for developers requiring a huge amount of data?

1
2
3
4

Solution:

Which part of the URL does a <Route path> match?

1
2
3
4

Solution:

What is the output of the following JavaScript code?

var x = eval(100 * 56 + 78 - 55);

document.write(x);

1
2
3
4

Solution:

Which of the following regular expression patterns is used to match a string containing one or more occurrences of the character 'n'?

1
2
3
4

Solution:

How can one access the redirectCount property?

1
2
3
4

Solution:

Which of the following is the correct syntax for setting a value in a Map in JavaScript?

1
2
3
4

Solution:

How can we add a background color to an HTML element?

1
2
3
4

Solution:

 

What will be the output of the following JavaScript code?


 function printprops(o) 

 {     

      for(var p in o)    

            console.log(p + ": " + o[p] + "\n"); 

  } 

1
2
3
4

Solution: