"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = removeIndex;
// TODO use `remove` and `first`
function removeIndex({ a, i }) {
    const _a = [...a];
    const [ai] = _a.splice(i, 1);
    return {
        a: _a,
        'a[i]': ai,
    };
}
//# sourceMappingURL=f.js.map