diff --git a/solutions/day-01/scope.js b/solutions/day-01/scope.js index 6d365d6..a8da3ac 100644 --- a/solutions/day-01/scope.js +++ b/solutions/day-01/scope.js @@ -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) - } \ No newline at end of file + if (true) { + console.log(a, b) + } +} \ No newline at end of file