title: Generate 1000 random 10 digit number using javascript in a loop
body: <p>I want to generate atleast 1000 unique random numbers with 10 digit using 
  javascript in a loop. Is this possible? Or is Javascript a wrong thing to do this?</p>
  
  <p><strong>UPDATE:</strong> How will you be sure that duplicates are not created? </p>