-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(CSS): Revert changes as original makes more sense
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const url1 = new URL('https://example.com:443/wiki/Mozilla#Software'); | ||
const url1 = new URL('https://en.wikipedia.org:443/wiki/Mozilla#Software'); | ||
console.log(url1.host); | ||
// expected output: "example.com" | ||
// expected output: "en.wikipedia.org" | ||
|
||
const url2 = new URL('https://example.com:8080/wiki/Mozilla#Software'); | ||
const url2 = new URL('https://en.wikipedia.org:8080/wiki/Mozilla#Software'); | ||
console.log(url2.host); | ||
// expected output: "example.com:8080" | ||
// expected output: "en.wikipedia.org:8080" |