Javascript Interview - Basic
What is the difference between var, let, and const in JavaScript?
var - i) Function scoped : Available throughout the function in which it is declared (or globally if not inside a function). ii) Hoisting : Yes, var declarations are hoisted to the to...
careerpath.hashnode.dev12 min read