code: function Node(data, prev, next) {
      this.next = next;
      if (next) {
          next.prev = this;
      }
      this.prev = prev;
      if (prev) {
          prev.next = this;
      }
      this.value = data;
  }
docs: /* eslint-disable func-names