結果 : ternary if without else javascript