Question: Plz solve this question with right solution. Thank you. txam 02 For the next two questions (to the right), consider the following JavaScript skeletal program

Plz solve this question with right solution. Thank you.
txam 02 For the next two questions (to the right), consider the following JavaScript skeletal program / The main progran runction main) I call history: main->subI-sub2-suh var function subo 2. Assuming static scoping, which decliatiom of x would reference in sub3 use (gven the above cull isor var x function sub2o a, subl c. sub3 sub3 ): d main sub2 ) function sub3) ( 3. Assume dynamic scoping,wickof's wuld a reference in sub3 use oigven the above call history)? a subl c. sub3 sub1): d main ) 1 main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
