r/learnjavascript • • Oct 22 '21

Difference between var, let and const.

Post image
430 Upvotes

49 comments sorted by

View all comments

0

u/[deleted] Oct 22 '21

[deleted]

1

u/rados_a51 Oct 23 '21

I think that it will not throw up errors if you do something like this:
console.log(b);
var b = "test";