, position) {              if (position < 0)                  position += this.size;              else if (position >= this.size)                  return this.addTail(value);              if (position <= 0)                  return this.addHead(value);              var next = this.get(position);              return this.attach