ExamVeda
Login
Home
This question belongs to Javascript Array And Function
Array and Function
?

What kind of scoping does JavaScript use?

Answer & Solution
Correct Answer: Option B
Like most modern programming languages, JavaScript uses lexical scoping. This means that functions are executed using the variable scope that was in effect when they were defined, not the variable scope that is in effect when they are invoked.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.