Skip to content

Commit 1316c35

Browse files
author
Sean Arseneault
committed
Fixed typos
Link to Kyle Simpsons blog post broken
1 parent 69ce529 commit 1316c35

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ebook/01_var_let_const.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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

109109
First let's have a look at a simple example:
110110

111-
Let's look at an example:
112-
113111
```javascript
114112
console.log(i);
115113
var 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.

0 commit comments

Comments
 (0)