結果 : how to check both undefined and null in javascript