Logo

Javascript Questions Set 96:

Quiz Mode

 What is the default value of the type attribute? 

1
2
3
4

Solution:

The length property belongs to which of the following objects?

1
2
3
4

Solution:

How can we handle a rejected promise?

1
2
3
4

Solution:

Which of the following methods is used to create a custom event?

1
2
3
4

Solution:

How can we fetch the value entered in the username text field?

1
2
3
4

Solution:

What is the solution to the absence of a script tag without a src attribute?

1
2
3
4

Solution:

Which operator shifts the first operand the specified number of bits to the right?

1
2
3
4

Solution:

What do Dojo and YUI have in common?

1
2
3
4

Solution:

 

<script>
function first_function()
{
  var first_num = 069;
  var final_n = num.valueOf()
  document.getElementById("demo").innerHTML = final_n;
}
</script>

1
2
3
4

Solution:

  JavaScript is ideal to ________ 

1
2
3
4

Solution: