I want to draw 3 numbers from the array
let num = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
but after drawing each of them, the chosen number should be removed from the num array.
For e.g. 0
is chosen, the next two can be drawn from
let num = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
and so on.
Does anyone know how to do that in the most efficient way?