LoginSignup
0
0

More than 3 years have passed since last update.

TDD勉強#5(July 18th, 2020)

Posted at

新しい知識

条件演算子(三項演算子)

条件式 ? 式1 : 式2

条件式がtrueだった場合に式1,falseだった場合に式2を処理.
ちなみに論理演算子a && bはaとbがともにtrueのときにtrue.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0