What output will be returned by the function in the following code?
var scope ="global scope";
functioncheckingscope()
{
var scope ="local scope";
functionf()
{
return scope;
}
return f;
}
a) It will returns the value in scope
b) It will returns value null
c) It will returns an exception
d) It will show an error message