What is the fundamental rule of lexical scoping?
(a) Functions are declared in the scope
(b) Functions are executed using scope chain
(c) Functions are declared outside the scope
(d) Variables are declared within the function
I have been asked this question during a job interview.
I'd like to ask this question from Closures in portion 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)