I know you can set variables with one line if/else statements by doing var variable = (condition) ? (true block) : (else block)
, but I was wondering if there was a way to put an else if statement in there. Any suggestions would be appreciated, thanks everyone!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…