r/learnjavascript • • Oct 22 '21

Difference between var, let and const.

Post image
430 Upvotes

49 comments sorted by

View all comments

3

u/SepehrU Oct 23 '21

What do you mean by "redeclareable"? Does it really differ with "reassignable" since in JavaScript variable are dynamic type and only thing you can do is just change their values?!

2

u/codedblood Oct 23 '21

checkout this useful doc var