使用三元运算符
Use the ternary operator
以上为机器翻译结果,长、整句建议使用 人工翻译 。
在大部分语言中,我们可以使用三元运算符?:来设置新变量的值。
In most languages, we can use the tertiary operator? : to set the value of the new variable.
youdao
应用推荐
模块上移
模块下移
不移动