Answers for "ramdom tableau"

0

ramdom tableau

var arr = [];
while(arr.length < 8){
    var r = Math.floor(Math.random() * 100) + 1;
    if(arr.indexOf(r) === -1) arr.push(r);
}
console.log(arr);
Posted by: Guest on April-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language