DEV Community

Discussion on: [Challenge] 🐝 FizzBuzz without if/else

Collapse
 
javiersilva profile image
Javier Silva Ortiz

I don't know this language, but the (and (zero? ... sounds like ternaries to me :)

Collapse
 
tanguyandreani profile image
Tanguy Andreani • Edited

It’s not a ternary, it’s just like doing && in other languages. Now you can emulate a ternary with it, I think that was the goal of the challenge. No ifs and no ternary.