index.js
function sliceOf(ars, i, parts) {
  return ars.slice(
    Math.floor(i/parts*ars.length),
    Math.floor((i+1)/parts*ars.length));
}
function sliceOf(ars, i, parts) {
  return ars.slice(
    Math.floor(i/parts*ars.length),
    Math.floor((i+1)/parts*ars.length));
}
function sliceOf ( ars , i , parts ) { return ars . slice ( Math . floor ( i / parts * ars . length ) , Math . floor ( ( i + 1 ) / parts * ars . length ) ) ; }
Slice against, for arrays or strings.
Slice against for arrays or strings .