結果 : check for empty or null string javascript