Well, one way is to &&
an identifier with each condition and check the result.
var result = (!me.a && 1) || (!me.b && 2) || (!me.c && 3);
if(result) {
// if result is 1, then !me.a is true
// if result is 2, then !me.b is true and !me.a is false
// if result is 3, only !me.c is true
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…