title: Best approach to random 10 numbers between 1 and 100 no dupes in javascript?
body: <p>This has been asked dozens of times, but somehow, after reading many answers, I'm not convinced. I'm not cleared about the best way to do it, performance and code simplicity.</p>
  
  <ol>
  <li><p>Should I set the list [1.. 100] and keep picking random (it will run 10 times) from there to another array, avoiding searching for it every new random?</p></li>
  <li><p>Should I develop and run 10 times (at least) a random function to return a 1.. 100, checking if it is not a dupe and put it into an array?</p></li>
  <li><p>Some Javascript function that I'm missing?</p></li>
  </ol>
  
  <p>Thanks</p>