r/badcode • • Jan 01 '22

js Hmm...why doesn't it work lol

Post image
528 Upvotes

58 comments sorted by

View all comments

0

u/[deleted] Jan 01 '22

[deleted] — view deleted comment

16

u/[deleted] Jan 01 '22

Was the only acceptable answer was "who cares, use const/let so that this isn't an issue"?

1

u/Schreibtisch69 Jan 02 '22

Because getting good devs is really important for your great code base that still uses var /s

Honetsly tho it shouldnt matter in good code anyway and all non-junior full stack devs that do JS that I know could have answered this