結果 : nested ternary operator in react js