File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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
Whitespace-only changes.

0 commit comments

Comments
 (0)