Hi,
Could anyone explain what happens when some function (x) is passed as a parameter into a function (b) which is nested inside a function(a), i.e.
Could anyone explain what happens when some function (x) is passed as a parameter into a function (b) which is nested inside a function(a), i.e.
Code:
a=function()
{
b=function(t)
{
// what scope chain does t have in here?
};
b(x); // where x is some random function that could be externally defined.
};
Comment