Local Scope and Functions, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn about local scope and how variables in javascript that are declared inside of a function only exist in that function. If the variable is called from outside of the function, "undefined" is returned.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required