Please enable JavaScript.
Coggle requires JavaScript to display documents.
05
More on
Conditionals (Labs (Logical operators, Conditional operator,…
05
More on
Conditionals
-
-
-
Short-circuiting
false && anything is always false,
no need to evaluate the "anything" part
true || anything is always true,
no need to evaluate "anything" part
Useful for, e.g.
if (person != null && person.Name == "Andrew") ...
-
-
-