property Location.protocol

Returns the Location object's URL's scheme.

Cannot be set.

Type

string