結果 : how to check null condition in javascript