πŸ“Š JavaScript
Q. How will you update the URL displayed in the location bar?
  • (A) location
  • (B) location.URL
  • (C) location.hash
  • (D) url
πŸ’¬ Discuss
βœ… Correct Answer: (C) location.hash

Explanation: The property location.hash needs to be updated to display the updated URL in the location bar.

Explanation by: Mr. Dubey
The property location.hash needs to be updated to display the updated URL in the location bar.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
145
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate