Comparing Scopes of the var and let Keywords, ES6 Intro freeCodeCamp, Learning ES6 on freeCodeCamp

53 views /


In this quick tutorial from the Introduction to ES6 Challenges on freeCodeCamp we continue further into the different use cases and functionality of the "'let"' javascript keyword. In ES6 the var keyword is less used in preference of some new keywords, in the case of this lesson, one of those keywords is "let"'. When using the "let" keyword we are able to limit its use to the block, expression, or statement in which we referenced it.


0 commentaries