How many parameters does the generic plot() function accept?
The history
object is a part of which object?
Predict the output:
let a = 9;
let b = 2;
let c = a << b;
console.log(c);
How can you update the URL displayed in the location bar?
Which is not a form of client-side storage?
Which of the following is the correct naming convention for variables?
A function definition expression can be called as __________
What is the output of following code :
function count()
{
var total=document.getElementsByTagName("h1");
alert("total.length);
}
<h1>hello</h1>
<h1>hello</h1>
<h1>hello</h1>
Predict the output:
var obj = {
bar: function() {
var x = (() => this);
return x;
}
};
var fn = obj.bar();
console.log(fn() === obj);
var fn2 = obj.bar;
console.log(fn2()() == window);