Skip to content

URL objects #271

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

Merged
merged 11 commits into from
Mar 27, 2021
Prev Previous commit
Next Next commit
Update 5-network/07-url/article.md
Co-authored-by: Simone Pasini <[email protected]>
  • Loading branch information
pierangelomiceli and pasor1 authored Mar 26, 2021
commit 4be2655913fbcbc834c29bbfa4a7b5e44f4e763e
2 changes: 1 addition & 1 deletion 5-network/07-url/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Ecco la sintassi per creare un nuovo oggetto `URL`:
new URL(url, [base])
```

- **`url`** -- l'URL completo o solo il path (se il parametro base è stato impostato, vedi il parametro seguente),
- **`url`** -- l'URL completo o solo il path (se il parametro `base` è stato impostato, vedi il parametro seguente),
- **`base`** -- un base URL opzionale: se è impostato e l'argomento `url` contiene solamente il path, l'URL viene generato in relazione a `base`.

Ad esempio:
Expand Down