"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../Class/Functional");
const _ids_1 = require("../../../_ids");
class Insert extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['a', 'i', 'b'],
            o: ['a'],
        }, {}, system, _ids_1.ID_INSERT);
    }
    f({ a, i, b }, done) {
        const _a = [...a];
        _a.splice(i, 0, b);
        done({ a: _a });
    }
}
exports.default = Insert;
//# sourceMappingURL=index.js.map