UNPKG

cpt-waffle-lotide

Version:
12 lines (11 loc) 289 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const joinList = (array) => { const result = array.map((word, i) => { if (i === 0) return word; return ` ${word}`; }); return result.join(); }; exports.default = joinList;