______() method is used to return the numebr as a string.
Find the output of the following code:
<script>
var x=new Boolean(false)
document.write(typeof(x))
</script>
What is the return value of the getContext()
method?
Which is the handler method used to invoke when uncaught JavaScript exceptions occur?
var my_var = 1;
var output = (function(){
delete my_var;
return my_var;
})();
console.log(output);
For what value does the keyCode property persist even when the Shift key is pressed for adding punctuation characters?
What happens when the fvonly parameter is set to 1?
Components used in a Route can be:
What will be the output of the following JavaScript code?
const obj1 =
{
a: 0,
b: 5,
c: 8
};
const obj2 = Object.assign({c: 11, d: 10}, obj1);
console.log(obj2.c, obj2.d);
What will be the output of the following code?
class Polygon {
constructor() {
this.name = "Polygon";
this.names = "hexagon";
}
}
const poly1 = new Polygon();
console.log(poly1.name);