title: JS test if multiple of 10
body: <p>In a JS function using setIntervall, I want to perform a jquery animation every 10 loops (in the other 9 loops, other animations are being displayed).</p>
  
  <p>I am using the variable i in my function and it increments +1 each loop. Is there a very easy way to check in javascript if i is a multiple of 10 (in order to perform my jquery animation)?</p>
  
  <p>In PHP I would simply do <code>if(($i % 10) == 0)</code> ... but I didn't find it in JS.</p>