結果 : ternary statements in javascript