TDD study # 5 (July 18th, 2020)

New knowledge

Conditional operator (ternary operator)

Conditional expression?Equation 1:Equation 2

Process expression 1 when the conditional expression is true, and process expression 2 when it is false. By the way, the logical operator  Ľa && b` is true when both a and b are true.

Recommended Posts

TDD study # 2 (July 13th, 2020)
TDD study # 5 (July 18th, 2020)
TDD study # 4 (July 16th, 2020)
TDD study # 3 (July 15th, 2020)
TDD study # 1 environment construction & first test-driven development (July 6th, 2020)
6th
7th