1

So let's say I have specific numbers for x such as 470, 240, 680.

I want to pick randomly from those three. How could I do this?

Ivan
  • 34,531
  • 8
  • 55
  • 100
Laex
  • 95
  • 1
  • 7
  • 1
    Is this for a homework assignment? What have you tried so far? – Pavlo Jun 10 '18 at 11:00
  • 1
    https://stackoverflow.com/questions/9071573/is-there-a-simple-way-to-make-a-random-selection-from-an-array-in-javascript-or – Avezan Jun 10 '18 at 11:01

0 Answers0