배열이 수도없이 많은데 조건이 랜덤을 돌리면서 3개를 노출을 시켜야한다!
let arr = data; arr.sort(function () { return Math.random() - Math.random(); }); console.log(arr);