1.

Which of the following is a global object?(a) Register(b) Location(c) Window(d) Position

Answer» Correct option is (c) Window

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.


Discussion

No Comment Found

Related InterviewSolutions