A
Q. Consider the following code snippet :
var scope = "global scope";
function checkscope() {
var scope = "local scope";
function f()
{
return scope;
}
return f;
What is the function of the above code snippet?
- Correct Answer - Option(C)
- Views: 6
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.