TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Code Scribbling with Fizz Buzz

18 pointsby pcoteover 9 years ago

2 comments

mathgladiatorover 9 years ago
Art for the sake of art.<p>I like doing things in an esoteric way. I wrote fizz Buzz weeks ago without out any literal digits nor any arithmetic operators, also, I outputted Roman numerals.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10599801" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10599801</a>
tracker1over 9 years ago
<p><pre><code> for(i=1;i&lt;101;i++)console.log((!(i%3)?&#x27;Fizz&#x27;:&#x27;&#x27;)+(!(i%5)?&#x27;Buzz&#x27;:&#x27;&#x27;)||i)</code></pre>