What are the events generated by the Node objects called?
What will be the ultimate element selection method?
Which HTML attribute is used to specify that the external script is executed when the page has finished parsing?
In React, what is used to return references to a particular element or component returned by the render()
method?
What function can be used to check whether a value is an integer or not?
What is the purpose of the timing
property in the window.performance object?
What is the main advantage of using React Hooks?
What is the purpose of dynamic scoping?
What will be the output of the following code?
var name = "vinay";
if (name == "vijay") {
document.write("Entry is correct");
}
else {
document.write("Entry is not correct");
}
<script>
function my_function()
{
var first_string = "Perform very well";
var first_pattern = new RegExp("es");
var res = first_pattern.test(first_string);
document.getElementById("demo").innerHTML = res;
}
</script>