content(resources): fix typos

This commit is contained in:
Jean-Philippe Sirois
2020-01-27 22:24:27 -05:00
parent b8abf564eb
commit 9c74572573
2 changed files with 2 additions and 2 deletions
@@ -33,7 +33,7 @@ function doAsync(number) {
```
You also don't have to nest `.then` functions, the whole point of promises
is that they allow you do chain them sequentially.
is that they allow you to chain them sequentially.
```js
function doAsync(number) {
@@ -141,7 +141,7 @@ This can cause confusing behaviour, as `var` has different scoping behaviour dep
### Hoisting
Variables defined using `var` are also hoisted to the top of the function they are declared in, which can casue some weird behaviour.
Variables defined using `var` are also hoisted to the top of the function they are declared in, which can cause some weird behaviour.
```js
console.log(myVar); // undefined.