結果 : multiple conditions in ternary operator javascript