r/badcode • sadistic • Apr 22 '21

js ternary operators at their maximum potential

Post image
960 Upvotes

73 comments sorted by

View all comments

Show parent comments

1

u/recycle4science Apr 24 '21

Yeah I've learned a bit about Haskell and F# (didn't realize the latter could compile into js); our VP is really into types. One day I'll get to work on a project that isn't php and jquery!