S
let myRnId = () => parseInt(Date.now() * Math.random());
let temp
let int
for (i = 0; i < 10000; i++) {
int = myRnId();
while (int === temp) {
int = myRnId();
}
console.log(int % arr.length);
temp = int
}

Size: a a a
S
let myRnId = () => parseInt(Date.now() * Math.random());
let temp
let int
for (i = 0; i < 10000; i++) {
int = myRnId();
while (int === temp) {
int = myRnId();
}
console.log(int % arr.length);
temp = int
}
NR
DE
А
А
DE
DE
А
А
DE
А
NR
А
NR
DE
NR
А
А
Uncaught TypeError: 0 is not a function
at from (<anonymous>)
at Array.map (<anonymous>)
at <anonymous>:1:35
L