-
Notifications
You must be signed in to change notification settings - Fork 26
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 or var? #10
Comments
I read your comment in the other thread. I just thought I'd add that I prefer using Q: "What should I use?" However, I think my overall code is clearer when I use My $0.02. I'm looking forward to where this repo goes 👍 . |
@wwalser your $0.02 are very much welcome.
Let's focus on The point of The examples on MDN are a good reference. The idea of declaring a block-level variable with the same name (e.g: All non-global variables are already _functionally scoped_ so provided you don't try to have multiple block/expression-scoped variables with the same name in the same function, I don't see any advantage to using And, in my experience they are confusing to inexperienced developers end up using _Last, but not least_, there's the fact that let is not widely adopted/supported by the Browsers people are actually using: http://caniuse.com/#feat=let 32% of browsers in use don't support So the question we could ask is: once IE < 11 "goes away" should we adopt Until |
asked by @SimonLab in https://github.com/FAC-GM/app/pull/465#issuecomment-222940039 #discuss
The text was updated successfully, but these errors were encountered: