Logo

Javascript Questions Set 133:

Quiz Mode

Which protocol is a stateless protocol?

1
2
3
4

Solution:

The number of Node object methods available are?

1
2
3
4

Solution:

What is the default value of the async attribute in HTML?

1
2
3
4

Solution:

Which of the following is not an example of a closure?

1
2
3
4

Solution:

Which of the following can be used to perform form validation?

1
2
3
4

Solution:

  Which of the operator is used to test if a particular property exists or not?
 

1
2
3
4

Solution:

Which method to use while working with XML fragments, instead of XML()?

1
2
3
4

Solution:

Which function among the following lets you register a function to be invoked only once?

1
2
3
4

Solution:

What is the output of the following JavaScript code?


var arr = [7, 3, 9, 2];  

var value = Math.max.apply(null, arr);  

document.writeln(value);

1
2
3
4

Solution:

What will be the output of the following code?

const materials = [

  'iron',

  'Helium',

  'Lithium',

  'Beryllium'

];

console.log(materials.map(material => material.length));

1
2
3
4

Solution: