title: Generate random number every n second js
body: <p>How can you generate a <strong>new</strong> random number every given second using <code>Math.random()</code>? I have tried putting it in a function and return <code>Math.random</code> but it return the same thing every time. Is there an efficient way to do this in <em>short</em> amount of code?
  -thanks </p>