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

Returns the Location object's URL's port.

Cannot be set in Deno.

Type

string