Which of the following is a global object?

Julipkq

New member
Which of the following is a global object?
A. Register
B. Location
C. Window
D. Position
 
Answer: c
Explanation: In client-side JavaScript, the Window object is also the global object. This means that the Window object is at the top of the scope chain and that its properties and methods are effectively global variables and global functions.
 

Tìm kiếm

Back
Top