| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:df5e77d8-31f9-4f78-1aea-e8509009edf1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 91B2:34D244:1811B7D:20CB6B7:6A4F2BCA |
| html-safe-nonce | d8a41dfc1e22aa2d844585e857c8378a03d3a4eba3613caeacce84eb82512ba4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUIyOjM0RDI0NDoxODExQjdEOjIwQ0I2Qjc6NkE0RjJCQ0EiLCJ2aXNpdG9yX2lkIjoiODg5NDM5NzUyODI0NzU3NzU0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6ac9f90173719e8329935d3e6cf86f7319e84e733dcb18fdc0cb83cf986fe5f7 |
| hovercard-subject-tag | pull_request:339953946 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/30380/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a67096bd67fd8179c53b1185e73ea1e69d0d272c6bb8ecb05628d3836038c456/nodejs/node/pull/30380 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a67096bd67fd8179c53b1185e73ea1e69d0d272c6bb8ecb05628d3836038c456/nodejs/node/pull/30380 |
| og:image:alt | Refs: nceu19-async_hooks
This comment will help contributors to understand why keeping var in some for loop instead changing at to let, as discussed with @mcollina
Checklist
make -j4 test (UNIX... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lrecknagel |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/nodejs/node/pull/30380#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F30380 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F30380 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode |
| Reload | https://github.com/nodejs/node/pull/30380 |
| Reload | https://github.com/nodejs/node/pull/30380 |
| Reload | https://github.com/nodejs/node/pull/30380 |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
|
nodejs
| https://github.com/nodejs |
| node | https://github.com/nodejs/node |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
|
Notifications
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Fork
36k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Star
118k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Code
| https://github.com/nodejs/node |
|
Issues
1.3k
| https://github.com/nodejs/node/issues |
|
Pull requests
970
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
| https://github.com/nodejs/node/projects |
|
Security and quality
0
| https://github.com/nodejs/node/security |
|
Insights
| https://github.com/nodejs/node/pulse |
|
Code
| https://github.com/nodejs/node |
|
Issues
| https://github.com/nodejs/node/issues |
|
Pull requests
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
| https://github.com/nodejs/node/projects |
|
Security and quality
| https://github.com/nodejs/node/security |
|
Insights
| https://github.com/nodejs/node/pulse |
| lrecknagel | https://github.com/lrecknagel |
| nodejs:master | https://github.com/nodejs/node/tree/master |
| lrecknagel:doc/asyncHooksKeepVar | https://github.com/lrecknagel/node/tree/doc/asyncHooksKeepVar |
| Conversation | https://github.com/nodejs/node/pull/30380 |
| Commits1 (1) | https://github.com/nodejs/node/pull/30380/commits |
| Checks | https://github.com/nodejs/node/pull/30380/checks |
| Files changed | https://github.com/nodejs/node/pull/30380/files |
| doc: add explanation why keep var with for loop in async_hooks | https://github.com/nodejs/node/pull/30380#top |
| lrecknagel | https://github.com/lrecknagel |
| nodejs:master | https://github.com/nodejs/node/tree/master |
| lrecknagel:doc/asyncHooksKeepVar | https://github.com/lrecknagel/node/tree/doc/asyncHooksKeepVar |
|
| https://github.com/lrecknagel |
| lrecknagel | https://github.com/lrecknagel |
| Nov 12, 2019 | https://github.com/nodejs/node/pull/30380#issue-521605443 |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| @mcollina | https://github.com/mcollina |
| commit guidelines | https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
|
| https://github.com/lrecknagel |
| doc: add explanation why keep var with for loop | https://github.com/nodejs/node/pull/30380/commits/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
| 0e1a18c | https://github.com/nodejs/node/pull/30380/commits/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
| https://github.com/nodejs-github-bot |
| nodejs-github-bot | https://github.com/nodejs-github-bot |
|
async_hooks
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aasync_hooks |
| Nov 12, 2019 | https://github.com/nodejs/node/pull/30380#event-2791796403 |
| https://github.com/Trott |
| Trott | https://github.com/Trott |
| Nov 12, 2019 | https://github.com/nodejs/node/pull/30380#issuecomment-552936713 |
| @lrecknagel | https://github.com/lrecknagel |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/mcollina |
| mcollina | https://github.com/mcollina |
| Nov 12, 2019 | https://github.com/nodejs/node/pull/30380#issuecomment-552948364 |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/mcollina |
| mcollina | https://github.com/mcollina |
|
Nov 12, 2019
| https://github.com/nodejs/node/pull/30380#pullrequestreview-315629619 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
| mcollina | https://github.com/mcollina |
| https://github.com/nodejs/node/pull/30380#pullrequestreview-315629619 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/jasnell |
| jasnell | https://github.com/jasnell |
|
code-and-learn
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acode-and-learn |
| Nov 12, 2019 | https://github.com/nodejs/node/pull/30380#event-2792006802 |
| https://github.com/jasnell |
| jasnell | https://github.com/jasnell |
|
Nov 12, 2019
| https://github.com/nodejs/node/pull/30380#pullrequestreview-315643074 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
| https://github.com/Trott |
| Trott | https://github.com/Trott |
| Nov 12, 2019 | https://github.com/nodejs/node/pull/30380#issuecomment-553031747 |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/Trott |
| Trott | https://github.com/Trott |
|
Nov 12, 2019
| https://github.com/nodejs/node/pull/30380#pullrequestreview-315747144 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
| lib/internal/async_hooks.js | https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716#diff-708abd8609bdfbfcb8abf61f945a9fb86b0e35f5a891f607ae1118ce8677f0e1 |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/Trott |
| Trott | https://github.com/Trott |
|
Nov 12, 2019
| https://github.com/nodejs/node/pull/30380#pullrequestreview-315747378 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
| lib/internal/async_hooks.js | https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716#diff-708abd8609bdfbfcb8abf61f945a9fb86b0e35f5a891f607ae1118ce8677f0e1 |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/Trott |
| Trott | https://github.com/Trott |
| Nov 12, 2019 | https://github.com/nodejs/node/pull/30380#issuecomment-553037270 |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/mscdex |
| mscdex | https://github.com/mscdex |
|
Nov 13, 2019
| https://github.com/nodejs/node/pull/30380#ref-pullrequest-521626012 |
|
lib: adding optemisation notes, leaving var in place in js_stream_socket.js
#30415
| https://github.com/nodejs/node/pull/30415 |
| https://github.com/gireeshpunathil |
| gireeshpunathil | https://github.com/gireeshpunathil |
|
Nov 14, 2019
| https://github.com/nodejs/node/pull/30380#pullrequestreview-317139147 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
| https://github.com/nodejs-github-bot |
| nodejs-github-bot | https://github.com/nodejs-github-bot |
| Nov 14, 2019 | https://github.com/nodejs/node/pull/30380#issuecomment-553998374 |
| https://ci.nodejs.org/job/node-test-pull-request/26587/ | https://ci.nodejs.org/job/node-test-pull-request/26587/ |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/nodejs-github-bot |
| nodejs-github-bot | https://github.com/nodejs-github-bot |
| Nov 26, 2019 | https://github.com/nodejs/node/pull/30380#issuecomment-558630697 |
| https://ci.nodejs.org/job/node-test-pull-request/27032/ | https://ci.nodejs.org/job/node-test-pull-request/27032/ |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/gireeshpunathil |
| gireeshpunathil | https://github.com/gireeshpunathil |
| Nov 26, 2019 | https://github.com/nodejs/node/pull/30380#issuecomment-558663216 |
| #30519 | https://github.com/nodejs/node/issues/30519 |
| #30619 | https://github.com/nodejs/node/issues/30619 |
| #30660 | https://github.com/nodejs/node/issues/30660 |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| gireeshpunathil | https://github.com/gireeshpunathil |
|
Nov 26, 2019
| https://github.com/nodejs/node/pull/30380#ref-commit-4506991 |
|
| https://github.com/lrecknagel |
|
| https://github.com/gireeshpunathil |
| doc: add explanation why keep var with for loop | https://github.com/nodejs/node/commit/4506991aafa59f311024a7290b5195cf030cee7c |
| 4506991 | https://github.com/nodejs/node/commit/4506991aafa59f311024a7290b5195cf030cee7c |
| #30380 | https://github.com/nodejs/node/pull/30380 |
| https://github.com/gireeshpunathil |
| gireeshpunathil | https://github.com/gireeshpunathil |
| Nov 26, 2019 | https://github.com/nodejs/node/pull/30380#issuecomment-558665397 |
| 4506991 | https://github.com/nodejs/node/commit/4506991aafa59f311024a7290b5195cf030cee7c |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/gireeshpunathil |
| gireeshpunathil | https://github.com/gireeshpunathil |
| Nov 26, 2019 | https://github.com/nodejs/node/pull/30380#event-2832232448 |
| addaleax | https://github.com/addaleax |
|
Nov 30, 2019
| https://github.com/nodejs/node/pull/30380#ref-commit-329a821 |
|
| https://github.com/lrecknagel |
|
| https://github.com/addaleax |
| doc: add explanation why keep var with for loop | https://github.com/nodejs/node/commit/329a821d253abe6f9dacf426ed6d103d9b777620 |
| 329a821 | https://github.com/nodejs/node/commit/329a821d253abe6f9dacf426ed6d103d9b777620 |
| #30380 | https://github.com/nodejs/node/pull/30380 |
| targos | https://github.com/targos |
|
Dec 1, 2019
| https://github.com/nodejs/node/pull/30380#ref-commit-5be20b4 |
|
| https://github.com/lrecknagel |
|
| https://github.com/targos |
| doc: add explanation why keep var with for loop | https://github.com/nodejs/node/commit/5be20b49480cd51a92d970c901b60b09b8f2676a |
| 5be20b4 | https://github.com/nodejs/node/commit/5be20b49480cd51a92d970c901b60b09b8f2676a |
| #30380 | https://github.com/nodejs/node/pull/30380 |
| https://github.com/BridgeAR |
| BridgeAR | https://github.com/BridgeAR |
|
Dec 3, 2019
| https://github.com/nodejs/node/pull/30380#ref-pullrequest-531889133 |
|
v13.3.0 proposal
#30774
| https://github.com/nodejs/node/pull/30774 |
| https://github.com/BethGriggs |
| BethGriggs | https://github.com/BethGriggs |
|
Dec 9, 2019
| https://github.com/nodejs/node/pull/30380#ref-pullrequest-534888029 |
|
v12.13.2 proposal
#30865
| https://github.com/nodejs/node/pull/30865 |
| MylesBorins | https://github.com/MylesBorins |
|
Dec 17, 2019
| https://github.com/nodejs/node/pull/30380#ref-commit-c705a8e |
|
| https://github.com/lrecknagel |
|
| https://github.com/MylesBorins |
| doc: add explanation why keep var with for loop | https://github.com/nodejs/node/commit/c705a8e816877be8ee93d78e4617d6b63d83cf93 |
| c705a8e | https://github.com/nodejs/node/commit/c705a8e816877be8ee93d78e4617d6b63d83cf93 |
| #30380 | https://github.com/nodejs/node/pull/30380 |
| https://github.com/BethGriggs |
| BethGriggs | https://github.com/BethGriggs |
|
Dec 23, 2019
| https://github.com/nodejs/node/pull/30380#ref-pullrequest-541795773 |
|
v12.14.1 proposal
#31069
| https://github.com/nodejs/node/pull/31069 |
| https://github.com/Fdawgs |
| Fdawgs | https://github.com/Fdawgs |
|
Mar 1, 2021
| https://github.com/nodejs/node/pull/30380#ref-pullrequest-806386927 |
|
chore: update docs and ci
fastify/fastify-auth#82
| https://github.com/fastify/fastify-auth/pull/82 |
| https://github.com/Aschen |
| Aschen | https://github.com/Aschen |
| Jul 18, 2022 | https://github.com/nodejs/node/pull/30380#issuecomment-1187787916 |
| https://user-images.githubusercontent.com/4447392/179565429-53005884-898a-4630-80a3-fb77d6086b8b.png |
| Source | https://gist.github.com/Aschen/7fc5a1c219be2e05cacbe6c1eb33b5ac |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
Apr 24, 2024
| https://github.com/nodejs/node/pull/30380#ref-pullrequest-2262279643 |
|
Adding VersionStream for nodejs-22
wolfi-dev/os#17646
| https://github.com/wolfi-dev/os/pull/17646 |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F30380 |
|
| https://github.com/Trott |
|
Trott
| https://github.com/Trott |
|
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
|
| https://github.com/mcollina |
|
mcollina
| https://github.com/mcollina |
|
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
|
| https://github.com/jasnell |
|
jasnell
| https://github.com/jasnell |
|
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
|
| https://github.com/gireeshpunathil |
|
gireeshpunathil
| https://github.com/gireeshpunathil |
|
| https://github.com/nodejs/node/pull/30380/files/0e1a18c0d31dcd749b415d8fdc7fc79f1b352716 |
|
async_hooks
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aasync_hooks |
|
code-and-learn
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acode-and-learn |
| Please reload this page | https://github.com/nodejs/node/pull/30380 |
|
| https://github.com/lrecknagel |
|
| https://github.com/Trott |
|
| https://github.com/mcollina |
|
| https://github.com/nodejs-github-bot |
|
| https://github.com/gireeshpunathil |
|
| https://github.com/Aschen |
|
| https://github.com/jasnell |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |