結果 : javascript ternary operator set variable