working on scope day1

pull/73/head
Derrek Gass 5 years ago
parent 1739d9bfcd
commit a0c3f6a932

@ -2,7 +2,8 @@
a = 'JavaScript' // is a window scope this found anywhere
b = 10 // this is a window scope variable
function letsLearnScope() {
console.log(a, b)
if (true) {
console.log(a, b)
}
if (true) {
console.log(a, b)
}
}
Loading…
Cancel
Save