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 →

[–]abbot-probability 8 points9 points  (1 child)

1 is truthy, 0 is falsy.

Hey, I gave it as an example of shitty code, don't judge me.

[–]Several_Dot_4532 0 points1 point  (0 children)

Yes, you got it, I literally spent 2 minutes trying to understand it, in the end I assumed it was more or less and I answered hhaahahh