code: function (index) {
          assertType(index, Number);
  
          if (index < 0 || index >= this.slot.size) {
              error(ERROR_ARGUMENT_OUT_OF_RANGE);
          }
  
          this.slot.size--;
          this.slot.keys.splice(index, 1);
          this.slot.values.splice(index, 1);
          this.slot.keys.length++;
          this.slot.values.length++;
      }
docs: Removes the element at the specified index of the SortedList.
  @param {Number} index The zero-based index of the element to remove.