Question: 22. Using static scoping in nesting, what would be the value of x in sub2 if you called big()?(6 pts) function big (function sub10)

22. Using static scoping in nesting, what would be the value of x in sub2 if you called big()?(6 pts) function big (function sub10) { var x=7; var y =5; sub20; function sub2() {var y = x; ) var x = 1; sub10: (circle the correct answer) x=7 C x=1 C x=5 C none of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
