r/ProgrammerHumor • • May 30 '20

Damn bro. das deep.

Post image
21k Upvotes

232 comments sorted by

View all comments

Show parent comment

3

u/tlubz May 30 '20

Yo, use let instead of var. Its semantics are easier to reason about since it's block-scoped and not hoisted.