Single Choice
Easy
QWhich of the following objects has the length property?
ID: #5104
Javascript DOM & Event Handling MCQ
142 views
Question Info
#5104Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The browsing history list's element count is specified by the length attribute of the History object.
Since the currently-loaded page is included in the list, the property always returns at least 1.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic