Scope in JavaScript(var, let, const)
Scope in JavaScript is divided into the Block Scope, Function Scope and the Global Scope. Starting with the Global Scope // Global scope var a = 1; let b = 2 const c = 3 console.log(`Global Scope ${a} ${b} ${c}`) This is a global scope and everythin...
Jan 5, 20222 min read147
