Sitelet https://web.archive.org/web/20200928154906/https://github.com/rockscript/rockscript/issues/2
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

let and const instead of var #2

Open
brodybits opened this issue Nov 1, 2017 · 1 comment
Open

let and const instead of var #2

brodybits opened this issue Nov 1, 2017 · 1 comment

Comments

@brodybits
Copy link

@brodybits brodybits commented Nov 1, 2017

I discovered this through the InfoQ article, very nice!

My suggestion for the language is to use const and let instead of var. I found an excellent writeup from November 2015 at https://medium.com/javascript-scene/javascript-es6-var-let-or-const-ba58b8dcde75, other nice ones at https://www.google.com/search?q=javascript+var+vs+let+vs+const.

@tombaeyens
Copy link
Contributor

@tombaeyens tombaeyens commented Nov 24, 2017

Thanks! I didn't realize that const and let would make var unnecessary. I'll check it out.

And sorry for the late reply. I ll check why my notifications failed.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.