🏠 New in Low Baseline Support: Location

July 29, 2015

caniuse · mdn · spec

The location global object represents the current page’s address. You can use it to get the parts of the address (such as location.hostname or location.pathname) or navigate to another URL.

Source features