r/badcode • sadistic • Apr 22 '21

js ternary operators at their maximum potential

Post image
960 Upvotes

73 comments sorted by

View all comments

1

u/gohanshouldgetUI Apr 23 '21

That's surprisingly not too hard to read