origin

The origin read-only property of the URL interface returns a string containing the Unicode serialization of the origin of the represented URL.

MDN Reference