UNPKG

urbi-exhibitions

Version:
13 lines (12 loc) 193 B
const r = (n, s) => { if (s <= 0) return []; const o = []; for (let t = 0; t < n.length; t += s) { const e = n.slice(t, t + s); o.push(e); } return o; }; export { r as t };