How many read-only attributes are present in the Navigator object?
What will be the output of the following JavaScript code?
var A = new F();
a.constructor === F
What is the lifetime of the data stored through localStorage?
What is the output of the following code?
<script>
var x = 4;
document.write(typeof(x.toExponential(4)));
</script>
What does the pop()
method do in an array?
Which of the following functions reads the textual contents of a URL and returns it as a string?
What is the code to start displaying the time when the document loads?
Predict the output:
var o = {f: function() { return this.a + this.b; }};
var p = Object.create(o);
p.a = 4;
p.b = 8;
console.log(p.f());
Which of the following statements about JavaScript is correct?
The meaning of Augmenting classes is that: