🏠 New in High Baseline Support: Location

January 29, 2018

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