"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Creates a new array from the initial one, without the last element.
 *
 * @param arr Initial array
 * @returns New array
 */
const butLast_ = (arr) => arr.slice(0, -1);
exports.butLast_ = butLast_;
exports.default = butLast_;
