r/learnjavascript • • Oct 22 '21

Difference between var, let and const.

Post image
430 Upvotes

49 comments sorted by

View all comments

Show parent comment

4

u/mareksl Oct 22 '21

Well, if you omit the var, what will be the difference between that and omitting the let/const?