title: How to write FizzBuzz in JavaScript without using % operator
body: <p>I know how to write simple FizzBuzz code in JavaScript:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> x = 0;while (++x &lt; 1000)console.log((x % 3 ? "" : "Fizz") + (x % 5 ? "" : "Buzz") || x);</code></pre>
  </div>
  </div>
  </p>
  
  <p>But how can we get the same result without using the '%' operator?</p>