Learn Javascript, 2017 Global Scope, Codecademy

Lesson Summary

In this codecademy javascript lesson we are introduced to javascript's global scope. Global scope just refers to where in a program variables can be accessed. If the variable is declared outside the function then it can be used by any part of the program. The next lessons will go into scope in further detail.