Scope, hoisting and compartmentalization
Answer the following:
In you own words, explain the concepts of scope, hoisting, compartmentalization.
Scope: The section of code within which a variables value holds.
Compartmentalization: Taking advantage of scope to minimize pollution of the global environment.