From d68f2950aad65c4597e5172db5668661a09bf182 Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul0007@users.noreply.github.com> Date: Fri, 1 Sep 2023 21:14:00 +0530 Subject: [PATCH] Update variable.js --- notes/variable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);