結果 : javascript declare variable in ternary operator