Javascript groupby and sum key value

welcome to shbcf.ru