Location.port - Web documentation
property Location.port

Returns the Location object's URL's port.

Cannot be set in Deno.

Type

string