Calculating trailing zero in javascript : <p>How do i calculate the number of trailing zeros in a factorial of a given number.</p>

<pre><code>N! = 1 * 2 * 3 * 4 ... N
</code></pre>

<p>Any Help on this?</p>
