Lexical Scope Lab
Easy
5
83.3% Acceptance
In this lab, you'll work with lexical scope in JavaScript. You need to create a function named 'outerFunction' and another function named 'innerFunction' inside it. Define a variable 'x' inside 'outerFunction' and access it inside 'innerFunction'.
Write your code inside the provided index.js
file, and make sure to test it as you progress.