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

Function d

scripts/shopee_topVariation.js:63–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 });
62 }
63 function d() {
64 var b = Object.fromEntries(
65 Object.entries(count).sort(function (c, e) {
66 var g = helpers.makeIterator(c);
67 g.next();
68 g = g.next().value;
69 var m = helpers.makeIterator(e);
70 m.next();
71 return m.next().value - g;
72 })
73 );
74 console.info("Đã hoàn tất. Kết quả:");
75 console.table(b);
76 showResult(b);
77 }
78 async function run() {
79 var url =
80 "https://shopee.vn/api/v2/item/get_ratings?filter=0&flag=1&itemid=" +

Callers 1

runFunction · 0.70

Calls 2

sortMethod · 0.80
showResultFunction · 0.70

Tested by

no test coverage detected