Nice work! Now that we know how global and functional scope contain variables, let's organize some code to practice.
To the right, we provided you with incorrect sample code. If you try to run it as is, you will get an error because the
console.log on line 20 references variables that are within the functional scope of
Let's fix our scoping issues!