31.
What is a closure?

32.
Which of the following are examples of closures?

33.
Which of the following uses a lot of CPU cycles?

34.
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?

35.
What is the fundamental rule of lexical scoping?