Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix URL base parameter description typo #35794

Merged
merged 2 commits into from
Sep 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/en-us/web/api/url/url/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ new URL(url, base)
- : A string representing the base URL to use in cases where `url` is a relative reference.
If not specified, it defaults to `undefined`.

When specify a `base` URL, the resolved URL is not simply a concatenation of `url` and `base`.
When a `base` is specified, the resolved URL is not simply a concatenation of `url` and `base`.
Relative references to the parent and current directory are resolved are relative to the current directory of the `base` URL, which includes path segments up until the last forward-slash, but not any after.
Relative references to the root are resolved relative to the base origin.
For more information see [Resolving relative references to a URL](/en-US/docs/Web/API/URL_API/Resolving_relative_references).
Expand Down