Skip to main content
Location.protocol - Platform - Web documentation
property Location.protocol
Private
Returns the Location object's URL's scheme. Cannot be set in Deno.

Type

string