Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. When will the window property come into play?

  2. A.

     Representation convenience

    B.

     Use as an extension of other objects

    C.

     Use objects in the Window object

    D.

     Refer to window object itself

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    The Window object has a property named window that always refers to itself. You can use this property if you need to refer to the window object itself, but it is not usually necessary to use window if you just want to refer to access properties of the global window object.


Be The First To Comment