code: function occupySlice(
    targetArr: Array<?string>,
    start: number,
    end: number,
    componentKey: string
  ): void {
    // eslint-disable-next-line no-plusplus
    for (let ii = start; ii < end; ii++) {
      // eslint-disable-next-line no-param-reassign
      targetArr[ii] = componentKey;
    }
  }
docs: Splice the specified component into our decoration array at the desired
  range.