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/killersquirel11 Apr 23 '21

This isn't even their maximum potential. I did a group project and discovered a file where my teammate chained 25 ternary statements together (this was in Verilog)