"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function swap(array, i, j) {
    const _array = [...array];
    const t = _array[i];
    _array[i] = _array[j];
    _array[j] = t;
    return _array;
}
exports.default = swap;
//# sourceMappingURL=f.js.map