diff --git a/notes/variable.js b/notes/variable.js index 15fd3a3..f2373d4 100644 --- a/notes/variable.js +++ b/notes/variable.js @@ -21,7 +21,7 @@ console.log(globalName); // has no block scope { age = 4; - var age; + let age; } console.log(age);