How many properties are associated with the Response event?
What is the size constraint on the data per cookie? (in KB)
Which of the following keywords are used for creating a variable in JavaScript?
A function definition expression can be called as __________
Which operator shifts the first operand the specified number of bits to the left?
What is the purpose of event handlers in JavaScript?
<script>
function my_function()
{
var first_pattern = new RegExp("World", "g");
var res = first_pattern.toString();
document.getElementById("demo").innerHTML = res;
}
</script>
What is the JavaScript code snippet to change the class of an element and let the stylesheet specify the details?
Which of the following statements about the Document Object Model (DOM) is correct?
What will be the output of the following JavaScript code?
<p id="demo">code</p>
<script>
function myFunction()
{
var text = document.getElementById("demo").innerHTML;
document.getElementById("demo").innerHTML = text.toUpperCase();
}
</script>