Single Choice Easy

QIn which of the following is a property of the Location object not included?

ID: #5089 Javascript DOM & Event Handling MCQ 127 views
Question Info
#5089Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A protocol
  • B host
  • C hostee
  • D hostname
Correct Answer

Explanation

The window.location property allows access to the location object, which is a component of the window object.
The protocol, host, hostname, port, search, and hash are some of the features that the location object can have.

Share This Question

Challenge a friend or share with your study group.