Skip to content

Commit cd94b69

Browse files
authored
Update 3-Hoisting.md
variable declaration missing.
1 parent 42d4331 commit cd94b69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Notes/3-Hoisting.md

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ getName();
9090
console.log(x);
9191
console.log(getName)
9292
93+
var x = 7;
94+
9395
function getName(){
9496
console.log("Namaste JavaScript");
9597
}

0 commit comments

Comments
 (0)