Demystifying var, let and const in JavaScript
With the release of ES6, two new ways of variable declaration were introduced in JavaScript. These new ways use the keywords ‘let’ and ‘const’. These were basically improvements to the old way of declaring variables using ‘var’. To understand each of...
sriharsh.hashnode.dev4 min read