File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,10 @@ In this case we are not reassigning the whole variable but just one of its prope
104104
105105## The temporal dead zone
106106
107- Now we will have a look at a very important concept which may sound complicate from its name, but i reassure you it is not.
107+ Now we will have a look at a very important concept which may sound complicated from its name, but I assure you it is not.
108108
109109First let's have a look at a simple example:
110110
111- Let's look at an example:
112-
113111``` javascript
114112console .log (i);
115113var i = " I am a variable" ;
@@ -143,7 +141,7 @@ The first opinion comes from [Mathias Bynes:](https://mathiasbynens.be/notes/es6
143141- ` var ` should never be used in ES6.
144142
145143
146- The second opinion comes from [ Kyle Simpson:] ( blog .getify.com/constantly-confusing-const /)
144+ The second opinion comes from [ Kyle Simpson:] ( https://me .getify.com/)
147145
148146- Use ` var ` for top-level variables that are shared across many (especially larger) scopes.
149147- Use ` let ` for localized variables in smaller scopes.
You can’t perform that action at this time.
0 commit comments