結果 : ternary operator javascript only if