Logo

Javascript Questions Set 17:

Quiz Mode

To which object does the navigator property belongs to?

1
2
3
4

Solution:

What is the output of the following code?

let s = `${2+3}${2+3}`;

console.log(s);

1
2
3
4

Solution:

What are the two output formats YSlow for PhantomJS uses?

1
2
3
4

Solution:

Which property is used to obtain browser vendor and version information?

1
2
3
4

Solution:

Which property is used to specify the key code when a key is pressed?

1
2
3
4

Solution:

What is the output of the following code?


<script>

var x = 34;

var y = 34.00;

window.alert(y == x)

</script>

1
2
3
4

Solution:

What is the range of values that can be returned by the Math.random() function?

1
2
3
4

Solution:

Upon encountering empty statements, what does the Javascript Interpreter do?

1
2
3
4

Solution:

How can Java arrays be created in JavaScript programs?

1
2
3
4

Solution:

What happens when you call setTimeout() with a time of 0 ms?

1
2
3
4

Solution: