What is this ternary operator condition here (true ? x : 0)

前端 未结 0 1155
误落风尘
误落风尘 2020-12-06 14:08

I am not able to understand the question and output here. I am well aware of the basic syntax of ternary operator. condition ? statement 1 : statement 2 if the condition is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题