The number of web socket events available are ____
Predict the output:
let a = 5;
let b = 2;
a = a & b;
console.log(a);
What is the type of the variable x
in the following code?
var x = 12e3
Which event handler is triggered when the user's mouse moves onto a link?
If you have a function f and an object o, you can define a method named m of o with ________
Which of the following properties is associated with the Processing event?
What is the output of the following code?
var array = [2, 4, 6, 7, 8, 10];
var myArr = array.filter(v => v % 2 === 0);
What is the name of the attribute in React that helps to store a reference to a particular React element or component, which will be returned by the component's render configuration function?
What process is performed in the following JavaScript code snippet?
o = {x:1, y:{z:[false,null,""]}};
s = JSON.stringify(o);
p = JSON.parse(s);
What will be the output of the following JavaScript code?
<p id="demo"></p>
<script>
function myFunction()
{
var str = "Tables";
var patt1 = /tables/i;
var result = str.match(patt1);
document.getElementById("demo").innerHTML = result;
}
</script>