"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = dropLast;
const f_1 = __importDefault(require("../../../f/string/Slice/f"));
function dropLast({ a, n }) {
    const begin = n;
    const end = a.length - n;
    const { a: _a } = (0, f_1.default)({ a, begin, end });
    return { a: _a };
}
//# sourceMappingURL=f.js.map