location

Term side of the Card
Topic: Navigation in Browser
Unit title: location
Categories: Object
Explanation side of the Card

Explanation: The browser API object that contains information about the current URL and allows navigation to new URLs. It includes properties like `.href`, `.hostname` and methods like `.assign()` and `.reload()`.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: