Difference between var, let and const in JavaScript
JavaScript originally had only one variable type var. JavaScript introduced new variable declarations in ES6.
let
const
Now we have variable declarations let, var and const. The inevitable question is when to use what?
Before we answer this questio...
yogeshpendse.hashnode.dev3 min read