📜  if javascript 代码示例的嵌套简写

📅  最后修改于: 2022-03-11 15:04:01.649000             🧑  作者: Mango

代码示例1
int count = 5

(count === 3 ? (
    //write code for true
) : count !== 6 && count === 5 ? (
    //Write code for true
) : (
    //Write code for false
))