pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
10 lines (9 loc) • 369 B
TypeScript
/**
* Remove items from a javascript array without generating garbage
* @function removeItems
* @memberof utils
* @param {Array<any>} arr - Array to remove elements from
* @param {number} startIdx - starting index
* @param {number} removeCount - how many to remove
*/
export declare function removeItems(arr: any[], startIdx: number, removeCount: number): void;