Skip to content

Conversation

@verbose117
Copy link

I have changed the code from using the old style of concatenating strings using + and have used es6 string literals.

I have changed the code from using the old style of concatenating strings using + and have used es6 string literals.
@krzysdz
Copy link
Contributor

krzysdz commented Mar 12, 2022

The 4.x branch of Express (master is 4.x) supports old Node.js versions without ES6 support, so Express doesn't support it too.

See #4710 (comment), #4621 (review), #4591 (comment), #4522 (review)

@verbose117
Copy link
Author

Maybe we should re-factor in the next major versions!

@krzysdz
Copy link
Contributor

krzysdz commented Mar 12, 2022

Express 5 is going to drop old Node.js versions and will support ES6 syntax. This is discussed in #2755.

Copy link
Member

@3imed-jaberi 3imed-jaberi left a comment

Choose a reason for hiding this comment

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

In the next version of express v5.0+, we will support the ES6 syntax #2755

This pull request was closed.
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.

4 participants