結果 : ternary operator in javascript to check null