decord/source/__polyfill/06xxx/module_6935.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

27 lines
580 B
JavaScript

// Module ID: 6935
// Function ID: 6936
// Dependencies: []
// Exports: useDataMultiplier
// Module 6935
export const useDataMultiplier = function useDataMultiplier(arg0, arg1) {
const array = new Array(arg1);
let flag = false;
if (typeof arg0[0] === "object") {
flag = true;
}
for (let num = 0; num < arg1; num = num + 1) {
let tmp3 = arg0[num % tmp];
if (flag) {
let obj = {};
let merged = Object.assign(tmp3);
let tmp5 = obj;
} else {
tmp5 = tmp3;
}
array[num] = tmp5;
}
const items = [array];
return items;
};