title: Modulus operator not behaving as expected in javascript?
body: <p>I have the following: </p>
  
  <pre><code>-1 mod 5
  </code></pre>
  
  <p>I expect to get <code>4</code>.  </p>
  
  <p>However in JS (<code>-1 % 5</code>), I'm getting <code>-1</code>.  </p>
  
  <p>What am I doing wrong?</p>