Help with IF statements

admin

Administrator
Staff member
(Javascript/ASP) Are these two conditions the same?

(A=='EWP' && B>0 || A=='EWN' && B>0)

((A=='EWP' && B>0) || (A=='EWN' && B>0))


I think that the second condition will error out. How do I write this condition in the IF statement?
 
Back
Top