DEV Community

Discussion on: Unconditional Challenge: FizzBuzz without `if`

Collapse
bashunaimiroy profile image
Bashu Naimi-Roy

holy COW did I find out a lot of things about object destructuring while making this. Thanks for the challenge, Nathan. It was so great to notice how instinctively I reach for a conditional.

Collapse
kallmanation profile image
Nathan Kallman Author

I'm glad you liked it! I think its good to do a little self reflection on the way we do things every once in a while.

And WOW is that an impressive use of destructuring in JS. I knew about each of those things independently; I never have thought about putting them all together like that!