Before the release of ES6, Javascript only had ‘var’ to declare variables. But with ES6 another two ways were added to declare variables which are ‘let’ and ‘const’.

Even though ‘var’ , ‘let’ and ‘const’ does the same job that’s declaring variables, there are some minor differences and there are…

Jahzan Ahamed

Software Engineer Intern at 99x

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store