From 9c7457257320558ae3ccfeb58ac3444628bd78ed Mon Sep 17 00:00:00 2001 From: Jean-Philippe Sirois Date: Mon, 27 Jan 2020 22:22:16 -0500 Subject: [PATCH] content(resources): fix typos --- .../resources/javascript/promises/simplifying-promises.md | 2 +- src/content/resources/javascript/variables.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/resources/javascript/promises/simplifying-promises.md b/src/content/resources/javascript/promises/simplifying-promises.md index d39d4dc..02bc741 100644 --- a/src/content/resources/javascript/promises/simplifying-promises.md +++ b/src/content/resources/javascript/promises/simplifying-promises.md @@ -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) { diff --git a/src/content/resources/javascript/variables.md b/src/content/resources/javascript/variables.md index f961513..c3b1459 100644 --- a/src/content/resources/javascript/variables.md +++ b/src/content/resources/javascript/variables.md @@ -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.