Logo

Javascript Questions Set 143:

Quiz Mode

 A hexadecimal literal begins with __________ 

1
2
3
4

Solution:

Which prop is used to style the selected ?

1
2
3
4

Solution:

  Which one is not regular expression object method? 

1
2
3
4

Solution:

Flux is an architectural pattern which enforces the _____ data flow.

1
2
3
4

Solution:

What is the output of the following code?
var arr1 = [1, 2, [3, 4]];
arr1.flat();

1
2
3
4

Solution:

Identify the component useful for server rendering and rethrowing errors in componentDidCatch.

1
2
3
4

Solution:

How can you replace an old node with a new node in the DOM?

1
2
3
4

Solution:

A JavaScript program developed on a Unix machine:

1
2
3
4

Solution:

What are some of the limitations of React?

1
2
3
4

Solution:

 

function first_function()
{
  var my_string = "Is this the Gateway to Hell?";
  var my_pattern = /\s/g;
  var result = my_string.match(my_pattern);
  if(result)
  result=true;
  else
  result=false;
  document.getElementById("demo").innerHTML = result;
}
</script>

1
2

Solution: