From 86c2598d96a08feba1ce60d5df5a4332dd8a252c Mon Sep 17 00:00:00 2001 From: Shawn Stern Date: Wed, 10 Oct 2018 23:15:44 -0700 Subject: [PATCH] Update 02 - let VS const.md grammar Improves grammar and fixes use of the word 'scope' when describing the difference between `let` and `const` --- 02 - let VS const.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02 - let VS const.md b/02 - let VS const.md index eeb3c5c..7dc3cd3 100644 --- a/02 - let VS const.md +++ b/02 - let VS const.md @@ -1,6 +1,6 @@ In the last post we learned all about how scoping works with [JavaScript let, const and var variables](http://wesbos.com/javascript-scoping/). -We now know that `var` is **function scope**, and now we know that `let` and `const` are **block scope**. Any time you've got a set of curly brackets, `{ }`, you've got block scope. +We now know that `var` is **function scoped**, and that `let` and `const` are **block scoped**. Any time you've got a set of curly brackets, `{ }`, you've got a block scope. Now, we need to know **you can only declare a variable inside of its scope once**.