Files
YGChatCS/node_modules/lottie-web/player/js/utils/pooling/pooling.js
2025-06-29 23:41:37 +08:00

16 lines
239 B
JavaScript

import {
createSizedArray,
} from '../helpers/arrays';
const pooling = (function () {
function double(arr) {
return arr.concat(createSizedArray(arr.length));
}
return {
double: double,
};
}());
export default pooling;