Remembering the Ternary Operator Syntax

后端 未结 7 1805
误落风尘
误落风尘 2021-01-05 08:11

Anyone have a good trick to remember the standard ternary syntax?

Specifically whether the \'?\' or \':\' comes first. I have consistently gotten this backwards over

7条回答
提交回复
热议问题