In our theoretical apartment building, you have your own apartment. It has stuff in it that is yours that other people in the building can't access. This is like functional scope. You have access to your stuff inside your apartment, and in the building, but not anyone else's apartment.
When we write variables inside a function, only that function has access to its own variables. Therefore, they are in the functional scope.
In addition to a function having access to its own variables, it also has access to variables in the global scope.
In the last exercise we created two variables in the global scope. That is,
mailRoom are accessible from anywhere in our program.
Now, let's make two variables within a functional scope.