docs: function arraySlice (array, startIndex, endIndex) {
    var result = []
    if (array) {
      for (startIndex = startIndex || 0, endIndex = endIndex || array.length; startIndex < endIndex; startIndex++) {
        result.push(array[startIndex])
      }
    }
    return result
  }