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