9 lines
233 B
JavaScript
9 lines
233 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
function extrasperse(elem, array) {
|
|
const init = [];
|
|
return array.reduce((r, a) => r.concat(elem, a), init);
|
|
}
|
|
exports.extrasperse = extrasperse;
|
|
;
|