removeByPosition(position = 0) {
    if (position === 0) return this.removeFirst();
    if (position === this.size - 1) return this.removeLast();
    const current = this.findBy({ index: position }).node;
    if (!current) return null;
    current.previous.next = current.next;
    current.next.previous = current.previous;
    this.size -= 1;
    return current && current.value;
  }
Removes the element at the given position (index) in this list.
Runtime: O(n)
@param {any} position
@returns {any} the element's value at the specified position that was removed.