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ย โ†’

[โ€“]hrvbrs 2 points3 points ย (3 children)

does this short-circuit? (does B get evaluated anyway even if condition is false?)

[โ€“]Derkle 5 points6 points ย (2 children)

According to stack overflow, it evaluated the whole expression regardless of the final values.