How many types of nodes are there in total?
Which HTML attribute is used to make an element draggable?
Which of the following are Math object methods in JavaScript?
What will be the output of the following JavaScript code?
let a=a+10;
console.log(a);
Find the output of the following JavaScript code:
var x = "10";
var y = "2";
document.write(x * y);
What is the output of the following code?
let arr = ["t", "e", "s", "t", "h", "i"];
alert(arr.slice(2, 5));
When should you use refs in React?
Name the operator which returns true if the specified property is in the specified object or its prototype chain.
What is the JavaScript code snippet to change the class and let the stylesheet specify the details?
What will be the output of the following JavaScript code?
<p id="demo"></p>
<script>
function myFunction()
{
var str = "Hello World!";
var patt1 = /\x57/g;
var result = str.match(patt1);
if(result)
result = true;
else
result = false;
document.getElementById("demo").innerHTML = result;
}
</script>