Lexical scope, also known as static scope, is a concept in JavaScript (and many other programming languages) that describes how the scope of variables is determined at the time of lexing or parsing, which is before the code is executed. Lexical scope...