結果 : check undefined and empty in javascript