結果 : ternary operator check if null javascript