15 lines
611 B
JavaScript
15 lines
611 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$utils$data$removeItems = function(global, require, module, exports) {
|
|
exports.removeItems = function(arr, startIdx, removeCount) {
|
|
var length = arr.length;
|
|
if (!(startIdx >= length || 0 === removeCount)) {
|
|
removeCount = startIdx + removeCount > length ? length - startIdx : removeCount;
|
|
for (length -= removeCount; startIdx < length; ++startIdx) {
|
|
arr[startIdx] = arr[startIdx + removeCount];
|
|
}
|
|
arr.length = length;
|
|
}
|
|
};
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$utils$data$removeItems.js.map
|