Skip to content

Commit

Permalink
docs(CSS): Revert changes as original makes more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth committed Nov 9, 2023
1 parent 27cd599 commit 12f9873
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions live-examples/webapi-examples/url/url-prototype-host.js
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"

0 comments on commit 12f9873

Please sign in to comment.