Li-Fan Chen says to YSITD
array.reduce (all, curr)-> all[curr] = all[curr] || 0 all[curr]++ ,❴❵ <-這個