@@ -0,0 +1,8 @@
1
+x = 6
2
+console.log(x) // 6
3
+var x // Hoisting doesn't work in case of let but it works in case of var
4
+
5
6
+var a
7
+console.log(a)
8
+a = 7 //Undefined
0 commit comments