Examveda

The length property belongs to which of the following objects?

A. Window

B. Element

C. History

D. Document

Answer: Option C

Solution (By Examveda Team)

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.

Join The Discussion

Related Questions on Document Object Model and Event Handling