Skip to content

Conversation

@benjackson33
Copy link
Contributor

Changing var to const in README code examples

Copy link
Member

@UlisesGascon UlisesGascon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Most of our users today use ES6 when consuming our libraries, this will make more easy to just copy-paste the examples and use them straightforward. Thanks @benjackson33

@dougwilson
Copy link
Contributor

Typically the readme code is supported to work on the same versions of Node.js that the module itself works on, though.

@UlisesGascon UlisesGascon merged commit 908e914 into expressjs:master Jun 5, 2025
@UlisesGascon UlisesGascon self-assigned this Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants