I have a two dimensional Array in Javascript and want to select each value seperately in a random order.
(Basically this
for(var i = 0; i < example.length; i++) {
for(var j = 0; j < example.length; j++) {
doSomething(example[i][j]);
}
}
but in a (seemingly) random order)
Is there an efficient way of achieving this or will I have to keep track of what i have already selected/still have to select?