Academind Logo

var, let & const - Which one should you use?

In JavaScript, you can create variables with var, let and const. How do they differ? When should you use which?

Created by Maximilian Schwarzmüller
#

var, let & const

You can create variables with var, let and const in JavaScript. It can be confusing to understand how these three methods differ and when you should use which.

This video dives into these three alternatives and highlights the differences.

Recommended Courses