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 — test: replcae anonymous closure with arrow function · nodejs/node@dbf14ce

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/known_issues
    • test-http-path-contains-unicode.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/known_issues/test-http-path-contains-unicode.js‎

Copy file name to clipboardExpand all lines: test/known_issues/test-http-path-contains-unicode.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ const server = http.createServer(common.mustCall(function(req, res) {
2323

2424
}));
2525

26-
server.listen(0, function() {
26+
server.listen(0, () => {
2727
http.request({
28-
port: this.address().port,
28+
port: server.address().port,
2929
path: expected,
3030
method: 'GET'
3131
}, common.mustCall(function(res) {

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.