Vidyalelo
JavaScript · Q34

Document Object Model And Event Handling

Programming · JavaScript · question 34

Q34

What is the distinction made by JavaScript between windows, tabs, iframes, and frames ?

A.
They are all browsing contexts
B.
They are all browsing informations
C.
They are all Window contexts
D.
They are all Window objects
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
Client-side JavaScript makes very little distinction between windows, tabs, iframes, and frames: they are all browsing contexts, and to JavaScript, they are all Window objects.