JavaScript Questions
JavaScript ToDo
miscellaneous
JavaScript
Questions
IMP
9. What Is Lexical Scoping ?
Lexical scoping defines the scope of a variable by the position of that variable declared in the source code.
let name = 'John';
function greeting() {
let message = 'Hi';
console.log(message + ' '+ name); }
JavaScript Topics ToDo
Variable Scope
Map Reduce Filter
miscellaneous content