1const num1 = 3;
2const num2 = 3;
3num1 == num2 ? console.log('true') : console.log('flase');
4//Expected output: true
1 if ($scope.SearchSalesOrderAndCompanyName !== undefined && $scope.SearchSalesOrderAndCompanyName != null ) {
2 SearchCriteria += " AND [SalesOrderNo] LIKE '%" + $scope.SearchSalesOrderAndCompanyName + "%' OR ([SO].[CompanyNameOnBill] LIKE '%" + $scope.SearchSalesOrderAndCompanyName + "%')";
3 }
4 if ($scope.FromDate !== undefined && $scope.FromDate !=null) {
5 SearchCriteria += " AND [SO].[SalesOrderDate] LIKE '%" + $scope.FromDate + "%'";
6 }
7