xxxxxxxxxx
deleteMiddle() {
let mid = Math.floor(this.size / 2);
let current = this.head;
let count = 0;
while (current) {
if (mid === count) {
current.value = current.next.value;
current.next = current.next.next;
}
count++;
current = current.next;
}
return this
}