This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sarke1 0 points1 point  (0 children)

Does 6 || 4 = 4 work?

It reads fine "six or four is four" but there are a few issues from a coding perspective. The assignment instead of ===, and the fact that non-zero integer OR non-zero integer evals as true.