UNPKG

1-liners

Version:

Useful oneliners and shorthand functions

23 lines (20 loc) 373 B
/** * @module 1-liners/join * * @description * * Same as `[1, 'liners'].join('-')` * * @example * * const join = require('1-liners/join'); * * join('-', [1, 'liners']); // => '1-liners' * */ "use strict"; exports.__esModule = true; exports["default"] = function (superglue, arr) { return arr.join(superglue); }; module.exports = exports["default"];