Harsh Ranjan Jhayourharsh.hashnode.dev·Feb 17, 2024Scope level and mini hoistingGlobal and local scope let a = 10 const b = 20 Var c = 30 console.log(a) console.log(b) console.log(c) If var is working then why let and const? \=> Because var doesn’t work in block scope. { } => scope when it comes with a conditional statem...54 readsfirst postAdd a thoughtful commentNo comments yetBe the first to start the conversation.