GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: report proper return type on url.format · nodejs/node@a0bf29e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • url.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/url.md‎

Copy file name to clipboardExpand all lines: doc/api/url.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1741,6 +1741,7 @@ changes:
17411741
17421742
* `urlObject` {Object} A URL object (as returned by `url.parse()` or
17431743
constructed otherwise).
1744+
* Returns: {string}
17441745
17451746
The `url.format()` method returns a formatted URL string derived from
17461747
`urlObject`.
@@ -1836,6 +1837,7 @@ changes:
18361837
18371838
* `urlString` {string} A string that will be passed to `url.parse()` and then
18381839
formatted.
1840+
* Returns: {string}
18391841
18401842
`url.format(urlString)` is shorthand for `url.format(url.parse(urlString))`.
18411843

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.