PDF.js version: 3.5.141

These two properties should be marked as not mandatory as they are initialized if not present
scale = destArray[4];
        
        
        
        
        x = x !== null ? x : 0;
        y = y !== null ? y : pageHeight;
        break;
      case "Fit":
      case "FitB":
        scale = "page-fit";
        break;
      case "FitH":
      case "FitBH":
        y = destArray[2];
        scale = "page-width";
        
        
        if (y === null && this._location) {
          x = this._location.left;
          y = this._location.top;
        } else if (typeof y !== "number" || y < 0) {
          
          
          y = pageHeight;
        }
        break;
      case "FitV":
      case "FitBV":
        x = destArray[2];