Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
You Don't Know JS: Types & Grammar - "What about &&" Code example not clear enough #948
In What about &&? section we have the following code.
result in comment should indicate that foo was called. but in fact we would get same result of "42" if first operand had been called (like in
We're checking to see if
It might be clearer if we were doing something with