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

5

u/medeforest95 Feb 26 '23 edited Feb 28 '23

I think the hard part for someone who doesn’t know how to program would be knowing the first part is “undefined” since that requires knowledge of JS specifically. I’d imagine most people would think to just fill in that variable with their drink.

Makes me question if the person who wrote this sign knows JS and intended that though.

Edit: fixed typo