Does Javascript's Math.random() generate a unique number which will not repeat in future?
<p>I need a random number which I will be storing in the database per record and that (the generated random number)too should not repeat in future. So is Math.random() function is good for that? </p>

<p>Thanks in advance</p>