in web/reactplayer/public/test-harness/js/test-harness.js [49:61]
function weightedRandTable(spec) {
var i, j, table=[];
for (i in spec) {
var mult = 10;
if(Math.floor((Math.random() * 4) + 1) > 3){
mult = 50;
}
for (j=0; j<Math.floor(Math.random() * mult); j++) {
table.push(spec[i]);
}
}
return table;
}