Skip to content

Commit bfb5a7e

Browse files
authored
fix typo (#37668)
1 parent 243e5ea commit bfb5a7e

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/api/url/pathname

1 file changed

+1
-1
lines changed

files/en-us/web/api/url/pathname/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ browser-compat: api.URL.pathname
1111
The **`pathname`** property of the {{domxref("URL")}} interface represents a location in a hierarchical structure. It is a string constructed from a list of path segments, each of which is prefixed by a `/` character.
1212

1313
HTTPS, HTTP, or other URLs with [hierarchical schemes](https://www.rfc-editor.org/rfc/rfc3986#section-1.2.3) (which the URL standard calls "[special schemes](https://url.spec.whatwg.org/#special-scheme)") always have at least one (invisible) path segment: the empty string.
14-
The `pathname` value for such URLs will therefore always have a least one `/` character.
14+
The `pathname` value for such URLs will therefore always have at least one `/` character.
1515

1616
For non-hierarchical schemes, if the URL has no path segments, the value of its `pathname` property will be the empty string.
1717

0 commit comments

Comments
 (0)