Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rhizome
on May 2, 2020
|
parent
|
context
|
favorite
| on:
Why does `True == False is False` evaluate to Fals...
It's about elegance, you see.
num%3 == 0 ? num%5 == 0 ? "fizzbuzz" : "fizz" : num%5 == 0 ? "buzz" : num
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
num%3 == 0 ? num%5 == 0 ? "fizzbuzz" : "fizz" : num%5 == 0 ? "buzz" : num