Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

oh gosh you're right. Why am I getting confused?

I was thinking he wants to check if any of them ARE zero.

OR'ing them together:

    0 || 1 || 0 || 0 = 1
    0 || 0 || 0 || 0 = 0
AND'ing them together:

    1 || 0 || 1 || 1 = 0
    1 || 1 || 1 || 1 = 1


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: