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