/**
 * Removes an element from an array, returning the deleted element.
 */
const removeIndex = (array, index) => array.splice(index, 1)[0];

export { removeIndex as r };

//# sourceMappingURL=array.js.map