Skip to content

doc: Fix the typo in example output in url.md for url.hostname#33735

Closed
darkrishabh wants to merge 4 commits intonodejs:masterfrom
darkrishabh:patch-1
Closed

doc: Fix the typo in example output in url.md for url.hostname#33735
darkrishabh wants to merge 4 commits intonodejs:masterfrom
darkrishabh:patch-1

Conversation

@darkrishabh
Copy link
Contributor

Currently in the url.hostname, the replacement example updates the hostname to use example.com:82 but in the comment it's showing the expected output for the operation to be // Prints https://example.com:81/foo

It should be // Prints https://example.com:82/foo

Checklist
  • documentation is changed or added

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. url Issues and PRs related to the legacy built-in url module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants