Demystifying var, let and const in JavaScript
Oct 29, 2020 · 4 min read · 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...
Join discussion