Vidyalelo
JavaScript · Q10

Document Object Model And Event Handling

Programming · JavaScript · question 10

Q10

What is the result of the following code snippet? window.location === document.location

A.
False
B.
True
Answer
C.
0
D.
1

Answer: Option B

Solution

Answer: Option B
Solution:
The above code always results in a true value.