Question: Consider the following JavaScript function, big, in which the two functions sub 1 and sub 2 are nested: function big ( ) { function sub

Consider the following JavaScript function, big, in which the two functions sub1 and sub2 are nested: function big(){ function sub1(){ var x =7; sub2(); } function sub2(){ var y = x; } var x =3; sub1(); } used static binding

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!