summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r--javascript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown
index 3c0e6d4f..b290b553 100644
--- a/javascript.html.markdown
+++ b/javascript.html.markdown
@@ -590,7 +590,7 @@ if (Object.create === undefined){ // don't overwrite it if it exists
// ES6 Additions
// The "let" keyword allows you to define variables in a lexical scope,
-// as opposed to a block scope like the var keyword does.
+// as opposed to a function scope like the var keyword does.
let name = "Billy";
// Variables defined with let can be reassigned new values.