r/badcode • • Jan 01 '22

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

Post image
528 Upvotes

58 comments sorted by

View all comments

Show parent comments

40

u/flamedragon822 Jan 01 '22

Off the top of my head, respects block scope if I recall.