Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. The length property belongs to which of the following objects?

  2. A.

     Window

    B.

     Element

    C.

     History

    D.

     Document

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The length property of the History object specifies the number of elements in the browsing history list, but for security reasons scripts are not allowed to access the stored URLs.


Be The First To Comment