Javacript coding

Job ID: 31582334

Budget: $10 – $30 USD

Write a Javascript program with at least three levels of nested subprograms (one inside a second, which is inside of a third). Declare variables in each of the subprograms. Include print statements to show the values of variables declared in each subprogram, along with the variables declared in all enclosing subprograms.

Also, your code should demonstrate whether a variable declared in an outer subprogram can be modified from an enclosed subprogram.

Make your output rich enough to demonstrate what is going on in the program relative to scope.

Give me the code code in a plain text file with a .js suffix. Also uploading a lab report with a cover page and a brief summary of what was learned by doing this.