結果 : how to check for null object in javascript