A function with no return value is called
Procedures
Method
Static function
Dynamic function
Correct Answer : A
What is the fundamental rule of lexical scoping?
What will be the function of the following JavaScript code?
var scope = "global scope"; function checkscope() { var scope = "local scope"; function f() { return scope; } return f; }
Which of the following is not an example of closures?