Skip to content

When to use const rather than let #594

Answered by wbamberg
wbamberg asked this question in Content
Discussion options

You must be logged in to vote

I'm closing this, since everyone seems to agree that we should follow the rule "use const when you can and let when you have to" (and eventually enforce it with ESLint).

Replies: 0 comments 11 replies

Comment options

You must be logged in to vote
8 replies
@ddbeck
Comment options

@hamishwillee
Comment options

@wbamberg
Comment options

wbamberg Nov 12, 2021
Maintainer Author

@ikarasz
Comment options

@wbamberg
Comment options

wbamberg Nov 19, 2021
Maintainer Author

Comment options

You must be logged in to vote
0 replies
Comment options

wbamberg
Nov 26, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by wbamberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants