結果 : null check with ternary operator in javascript