Logo

Javascript Questions Set 139:

Quiz Mode

What does a History object contain?

1
2
3
4

Solution:

Under which namespace are the necessary global variables defined in Node.js?

1
2
3
4

Solution:

 var output = (function(x){

     delete x;

     return x;

})(0);      

console.log(output); 

1
2
3
4

Solution:

Which property is used to disable the panels on which the tabs widget is applied?

1
2
3
4

Solution:

What is the purpose of the onAirEvent event?

1
2
3
4

Solution:

What is the purpose of the startTimeLogging() method?

1
2
3
4

Solution:

What can you do with Higher-Order Components (HOCs) in React?

1
2
3
4

Solution:

Which of the following is the approach used to compress HTML in web servers and modern web browsers?

1
2
3
4

Solution:

What will be the output of the following JavaScript code?

<p>1</p>
<p>2</p>
<p>3</p>
function myFunction()
{
  var l = document.getElementsByTagName("P").length;
  alert(l);
}

1
2
3
4

Solution:

What will be the output of the following JavaScript code?

function getcube()
{
var number = document.getElementById("number").value;
alert(number * number * number);
}


Enter No:


1
2
3
4

Solution: