結果 : ternary operator in function arguments javascript