Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 4: Mastering JavaScript Basics: Operators, Variable Scope, and Data Handling!
Instruction
Global Scope
Module Scope
It is possible to divide huge scripts into multiple files and let the functions and variables communicate with each other. Each file creates its own scope, the module scope. The course JavaScript/Modules explains more about that.
Global Scope
Variables or functions are in global scope if they are declared at the top level of a script (outside of all block...