MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / a

Function a

scripts/shopee_topVariation.js:53–62  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

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) {

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected