(arr)
| 51 | }; |
| 52 | |
| 53 | function a(arr) { |
| 54 | arr.forEach(function (c) { |
| 55 | c.product_items && |
| 56 | c.product_items.forEach(function (i) { |
| 57 | count[i.model_name] |
| 58 | ? count[i.model_name]++ |
| 59 | : (count[i.model_name] = 1); |
| 60 | }); |
| 61 | }); |
| 62 | } |
| 63 | function d() { |
| 64 | var b = Object.fromEntries( |
| 65 | Object.entries(count).sort(function (c, e) { |