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
var
should be discouraged.
#10199
Comments
ES6 features including For now this challenge serves as an introduction to scoping and some of the issues to look out for when There might be an argument for removing the line
or altering it with some caveat regarding learning about cc @FreeCodeCamp/issue-moderators Thoughts? |
@BKinahan Well put. When to use and not use While I have not found a time where I don't think There are also some weirdness with |
Thank you for the inputs. They're both good points. I guess this is all opinion based. However, I would stand by my statement, and I would go as far as to preach to use immutable data, and use libraries like immutable.js or mori to prevent unexpected data mutations. ✌️ |
Challenge Global Scope and Functions has an issue.
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
.Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
We need to start using es6
let
andconst
.var
variable declaration is a potential for a bug.The text was updated successfully, but these errors were encountered: