Here I try to understand how to create array of arrays: I created one array but how to create an array of arrays, in which every array has 10 random numbers?
var arrRand = [];
while(arrRand.length < 10){
var random = Math.floor(Math.random() * 10) + 1;
if(arrRand.indexOf(random) === -1) arrRand.push(random);
}
console.log(arrRand);