The right way to declare variables in JavaScript

So, you might be a rookie who has just started to change the world using JavaScript, or maybe someone who is already doing so for a while now but has just stumbled upon the same old perplexity every JavaScript developer passes through, should it be var, let, or const?

Don’t…

Deepanshu Sharma

Technical blogger | YouTube instructor | JavaScript Lover | MERN stack engineer | social innovator and of course a Coder

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