What does it mean?
1.
a==b&&b={}
2.
a==b||b={}
I didn’t find answer
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
a==bis the condition to be tested. The operators&&and||test the condition very much like a ternary operator but you use it when there’s only one condition you need to test, either false||or true&&. It would be the same as:But as Esailija pointed out in the comments, seems like you’re missing some parenthesis: