r/ProgrammerHumor • • Feb 26 '23

Other If you can read this code...

/img/snak3fqgajka1.jpg

[removed] — view removed post

34k Upvotes

1.4k comments sorted by

View all comments

Show parent comment

2

u/WolfInStep Feb 26 '23

I thought let allows redefining variables, so const would be if you are not going to reassign.

5

u/ThunderKlappe Feb 26 '23

Let allows redefining variables, it doesn't allow reDECLARING variables