js统计数组中出现次数最多的元素let arr = [3, 2, {a: 1}, 1, {a: 1}, 1] function ana(arr) { let newArr = [] let unique = [] for (let2023-04-09JavaScript250