What is the purpose of the dynamic scoping?
(a) Variables can be declared outside the scope
(b) Variables must be declared outside the scope
(c) Variables cannot be declared outside the scope
(d) Variable cannot be declared within the function
This question was addressed to me during an online exam.
Asked question is from Closures in section Lexical Structures of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)