Skip to main content
Location.origin - Platform - Web documentation
property Location.origin
Private

Returns the Location object's URL's origin.

Type

string