const a=[7, 2, 32, 5, 33, 12, 11]
const b={
a1: [7, 2, 32, 5, 33, 12, 11],
a2: [7, 2, 32, 5, 33, 12, 3]
}
function as(){
let i=0
const arr=[]
for(let i=0;i<7;i++){
if(i<=7){
sum=Math.round(Math.random()*33)
arr.push(sum)
}
}
console.log( arr);
}
as()
利用对象数组筛选是否和以前号码重合(重合重新循环)