src/LazyList.js
function eagerSlice (list, start, end) {
  const sliced = []
  for (let i = start; i < end; i++) {
    sliced.push(list[i])
  }
  return sliced
}
function eagerSlice (list, start, end) {
  const sliced = []
  for (let i = start; i < end; i++) {
    sliced.push(list[i])
  }
  return sliced
}
function eagerSlice ( list , start , end ) { const sliced = [ ] for ( let i = start ; i < end ; i ++ ) { sliced . push ( list [ i ] ) } return sliced }
Like `.slice`, but doesn't care about array bounds.

[0, 1].slice(1, 3) === [1]
eagerSlice([0, 1], 1, 3) === [1, undefined, undefined]
Like . slice but doesn t care about array bounds .