r/badcode • • May 19 '23

js Ouch...

Post image
301 Upvotes

48 comments sorted by

View all comments

Show parent comment

2

u/TheZipCreator May 19 '23

in js assignments can be expressions. that originated in C.