結果 : check null and undefined condition in javascript