結果 : null check in ternary operator javascript