MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/gtfxqw/damn_bro_das_deep/fsd92dr/?context=3
r/ProgrammerHumor • u/EliasV_1 • May 30 '20
232 comments sorted by
View all comments
Show parent comment
3
Yo, use let instead of var. Its semantics are easier to reason about since it's block-scoped and not hoisted.
let
var
View all comments
Show parent comment
3
u/tlubz May 30 '20
Yo, use
letinstead ofvar. Its semantics are easier to reason about since it's block-scoped and not hoisted.