Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary use of let #27

Open
jamiecoe opened this issue Oct 31, 2019 · 0 comments
Open

Unnecessary use of let #27

jamiecoe opened this issue Oct 31, 2019 · 0 comments

Comments

@jamiecoe
Copy link

You are using let for declaring/assigning new variables, when you should use const.

Example

Remember, you only need to use let when you are going to reassign the value of that variable later on. If the value will not change after the first time you assigned it, then you should use const.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant