() let cateArr = arr.reduce(function (arr, current) { hash[current.category_id] ? '' : hash[current.category_id] = true && arr.push(current); return arr }, []); (
)
() let cateArr = arr.reduce(function (arr, current) { hash[current.category_id] ? '' : hash[current.category_id] = true && arr.push(current); return arr }, []); (
)