I'm not sure how to do this...
function f1()
{
    var x = 10;
    function f2(fx)
    {
        var x;
        x = 6;
        fx();
    };
    function f3()
    {
        print x;
    };
    f2(f3);
};
For each of the following two binding methods, what would the program print? A) Shallow Binding B) Deep Binding
Thanks for the help!
 
     
    