What information is stored in the History object?
Which of the following DOM events are currently considered necessary?
How to get a particular element using the tag name?
When is the mouseover event fired?
What is the function used to remove all handlers for a specific event name?
A proper scripting language is a _________
The basic difference between JavaScript and Java is ________
What does the following JavaScript code snippet do?
var httpserver = new http.Server();
What will be the output of the following JavaScript code?
<p id="demo"></p>
<script>
var numbers = [45, 4, 9, 16, 25];
var ans = numbers.reduce(myFunction);
document.getElementById("demo").innerHTML = sum;
function myFunction(total, value, index, array)
{
return total + value;
}
</script>
<!DOCTYPE html>
<html>
<body>
<p>Hello India</p>
<p> Hello VIT</p>
<p id="demo"></p>
<script>
var container = document.getElementByTagName("p");
document.getElementById("demo").innerHTML = "The innerHTML is: " + container[i].innerHTML;
</script>