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

Returns the Location object's URL's port.

Cannot be set in Deno.

Type

string